This is the mail archive of the gdb@sourceware.org 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: 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


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