This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Shared libaries and core files
i> From: Pedro Alves [pedro@codesourcery.com]
>
> $ gdb /path/to/program -c /path/to/core
> (gdb) info sharedlibrary
>
> Or were you thinking of something else?
I wasn't aware of "info sharedlibrary".
What I want is something that can be done from the command line. It
looks like
gdb [executable] -c [core] -silent -ex 'info sharedlibrary' -ex quit
will suffice. The output from that can be postprocessed to make a
list of the libraries.
Thanks!
Dale