equivalent of dumpstabs -s solaris command in linux
what is the equivalent of dumpstabs -s solaris command i开发者_开发百科n linux?
Regards ven
I guess this should do the same:
objdump -g
Or maybe
readelf --debug-dump
for ELF files. You can give various options to that last command (see man readelf
).
Edit: After reading the manual of objdump
, I found the -G
option to show the STABS (I guess this is what you want). The manual mentions the following:
This is only useful on systems (such as Solaris 2.0) in which ".stab" debugging symbol-table entries are carried in an ELF section.
So maybe what you want just isn't possible on Linux.
精彩评论