public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Shared libaries and core files
@ 2011-11-04 18:02 Worley, Dale R (Dale)
  2011-11-04 18:38 ` Pedro Alves
  0 siblings, 1 reply; 5+ messages in thread
From: Worley, Dale R (Dale) @ 2011-11-04 18:02 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-04 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 18:02 Shared libaries and core files Worley, Dale R (Dale)
2011-11-04 18:38 ` Pedro Alves
2011-11-04 19:25   ` Worley, Dale R (Dale)
2011-11-04 20:40     ` Pedro Alves
2011-11-04 20:54       ` Worley, Dale R (Dale)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).