This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: bfd way to get list of loaded DSO from coredump
- From: Dmitry Samersoff <dms at samersoff dot net>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 04 Feb 2014 23:05:33 +0400
- Subject: Re: bfd way to get list of loaded DSO from coredump
- Authentication-results: sourceware.org; auth=none
- References: <52E51821 dot 6090702 at samersoff dot net> <52F136F7 dot 3030300 at redhat dot com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pedro,
Thank you for the response!
Today, I'm using target (ELF or MACH-O) specific code (like
Elf_Internal_Dyn) directly to get list of loaded SOLIBs from coredump
Is there any BFD primitives that allows me to remain platform
independent?
- -Dmitry
On 2014-02-04 22:52, Pedro Alves wrote:
> On 01/26/2014 02:13 PM, Dmitry Samersoff wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Hi Everybody,
>>
>> What is the best way to get list of shared libraries loaded by
>> process at time of crash using libbfd ? i.e. similar to what
>> "info shared" gdb command does.
>
> You didn't mention the target, but the knowledge of how to extract
> the set of loaded shared libraries is actually in GDB (the solib*
> files), not BFD.
>
- --
Dmitry Samersoff
Saint Petersburg, Russia, http://devnull.samersoff.net
* There will come soft rains ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJS8Tn9AAoJEHEy08c4gIABu4YIAKY7GUed0B7kvhRXsVIPaZCr
z3DNTAxqs4nIuiPWK9WXf8XB8akOMf0AdW/bIQmlWjqpvHCKnpaojaDOTLgCJ2bE
Fj6fd3E7y9Wrf9l509ggHra1Wq6oLj6/S3x3Wa50O38r3E2nL4li3N0StUTcwfB9
VfBC78YPcwRTU5VxZoNckDQFIwDOWmpeZ5wisyrE8azGVeCvNUJLpX7ajXHlktnS
7UCEdB7gBtCPIAAqPU7yhCHu2Y1EGDgpJHVoRKahJozWO7pQh2ArEB1yvOqqvQPM
febZkdoGtOISpa/1aKB2D/wd/HbcLLN6aiHJzajZN8m5onVyjEKRkU2/E7s6nGs=
=2LtD
-----END PGP SIGNATURE-----