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]

Re: Loading shared libraries for core file


Ben Hutchings wrote:

Kris Warkentin wrote:


'info shared' should tell you what it plans to load and whether or not





it has yet.



Unfortunately not: "No shared libraries loaded at this time."

Ben.



Strange. Is it possible that your application cored before it loaded the shared libs? Linux uses lazy linking so if none of your objects had been used yet, they might not be loaded. You'd think that at least libc would be there. What do you get when you 'objdump -x <your_app> | grep NEEDED'? What does your backtrace show?


Also, you might want to try "LD_DEBUG=all LD_DEBUG_OUTPUT=ld_debug.txt <your_app>" to see what's going on.

cheers,

Kris


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