Re: bfd way to get list of loaded DSO from coredump

Dmitry Samersoff <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.