This is the mail archive of the
mailing list for the GDB project.
Re: Shared library debugging
Daniel Jacobowitz wrote:
On Tue, Jul 11, 2006 at 11:27:17AM +1000, Russell Shaw wrote:
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)