开发者

equivalent of dumpstabs -s solaris command in linux

开发者 https://www.devze.com 2023-01-12 16:47 出处:网络
what is the equivalent of dumpstabs -s solaris command i开发者_开发百科n linux? Regards venI guess this should do the same:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号