This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shared library debugging


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]