开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜