This is the mail archive of the gdb@sources.redhat.com 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]

Newbie asks about .so libraries


Here's a basic question.  Can gdb/insight debug code from .so files?

I have a library, compiled with debug information, and a main program, also with debug info.  If I start gdb with the main program, does gdb automatically dig up the debug info from any .so libraries used by the main program?  Can I set breakpoints on the source code in the .so file?

Or do I have to link statically for debugging purposes?

Thanks,
Bill


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