This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Shared libaries and core files
- From: "Worley, Dale R (Dale)" <dworley at avaya dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 4 Nov 2011 14:02:21 -0400
- Subject: Shared libaries and core files
I see that when I give GDB a core file, GDB loads many shared
libraries into its memory model of the process being debugged. How
does GDB determine what these libraries are? Does GDB know of
libraries that are loaded "dynamically" in the course of execution, or
only those that are loaded at process start time?
Naively, I would expect the dynamic loading routines in the process
would have to keep track of all the loaded libraries, and GDB could
extract from these data structures the complete list of libraries that
were loaded at the moment of the process failure.
Any information would be helpful,
Dale