Shared libaries and core files
Worley, Dale R (Dale)
dworley@avaya.com
Fri Nov 4 20:54:00 GMT 2011
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
More information about the Gdb
mailing list