首页 > 其他 > 详细

Different ways to get the symbol name and the place

时间:2014-03-03 16:52:52      阅读:431      评论:0      收藏:0      [点我收藏+]

万一你拿到callstack的是一堆的地址,不用担心,只要你有符号信息,就可以用这些命令恢复出熟悉的样子了。

$ addr2line -e foo.gdb -f -s -C 0x1023456
Ifoo::compare(unsigned long long)
foo.cxx:648

(gdb) l *0x1023456
0x1023456 is in Ifoo::compare(unsigned long long) (foo.cxx:648).
<more lines snipped>

(gdb) info symbol 0x1023456
Ifoo::compare(unsigned long long) + 478 in section .text

Different ways to get the symbol name and the place,布布扣,bubuko.com

Different ways to get the symbol name and the place

原文:http://blog.csdn.net/zedware/article/details/20306143

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!