Shared library debugging
Russell Shaw
rjshaw@netspace.net.au
Tue Jul 11 04:53:00 GMT 2006
Daniel Jacobowitz wrote:
> On Tue, Jul 11, 2006 at 11:27:17AM +1000, Russell Shaw wrote:
>
>>Hi,
>>I read in the gdb manual that you can add source directories for
>>gdb to find the source. Do i have to do this for shared system
>>libraries i've compiled myself, or is there a way for the library
>>source path to be automatically read from my program?
>
> Have you tried it? It should just work.
It seems to work now. I was stepping through Xlib libraries. Maybe
ldconfig had to load the new library i just compiled or something.
(i have /usr/local/lib in /etc/ld.so.conf)
More information about the Gdb
mailing list