Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: debugging shared objects



On Mon, 7 Dec 1998, Marcus Metzler wrote:

> Scott Stone writes:
>  > 
>  > apparently not.  I can't 'b subroutine', though, until the symbols from
>  > the shared object are loaded - this is what I'm unable to do.  I can work
>  > around it by setting a breakpoint where the dlopen() happens.  After that
>  > line, I can set breakpoints wherever I want to... 
>  > 
> Maybe you can load the symbols with add-shared-symbol-files or
> add-symbol-file. I currently have no source code here that I could
> test it on.

What argument do you pass for the TEXT pointer to add-symbol-file, though?
I couldn't figure that out.

BTW, if you download the turbonetcfg .src.rpm from the
/pub/turbolinux-3.0-updates/SRPMS on ftp.pht.com, that uses dlopen and
that is, in fact, the program in question here.

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)


------------------------------------------------------------------
Next Technical Meeting: 12 December, 12:30 at Temple Univ. Japan
*NEW LOCATION* a map is available at http://www.tuj.ac.jp/maps.html
Next Nomikai: 15 January 1999, 19:30 Tengu TokyoEkiMae 03-3275-3691
------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links