how to tell if a library contain debug symbols or not
2016-02-25 19:47
691 查看
gcc write_test.c -o w.d -g
$objdump -h w.d | grep debug
26 .debug_aranges 00000020 00000000 00000000 0000104e 2**0
27 .debug_info 00000101 00000000 00000000 0000106e 2**0
28 .debug_abbrev 00000080 00000000 00000000 0000116f 2**0
29 .debug_line 0000005b 00000000 00000000 000011ef 2**0
30 .debug_str 00000094 00000000 00000000 0000124a 2**0
31 .debug_loc 00000038 00000000 00000000 000012de 2**0
http://stackoverflow.com/questions/17453270/how-to-know-if-a-binary-contains-debugging-symbols-or-not
$objdump -h w.d | grep debug
26 .debug_aranges 00000020 00000000 00000000 0000104e 2**0
27 .debug_info 00000101 00000000 00000000 0000106e 2**0
28 .debug_abbrev 00000080 00000000 00000000 0000116f 2**0
29 .debug_line 0000005b 00000000 00000000 000011ef 2**0
30 .debug_str 00000094 00000000 00000000 0000124a 2**0
31 .debug_loc 00000038 00000000 00000000 000012de 2**0
http://stackoverflow.com/questions/17453270/how-to-know-if-a-binary-contains-debugging-symbols-or-not
相关文章推荐
- Ubuntu下安装ideaIU14并添加桌面快捷方式
- type_traits之has_* 系列
- 安装cuda时 提示toolkit installation failed using unsupported compiler解决方法
- “Unable to open log device '/dev/log/main': No such file or directory”
- C- C&AI
- 游戏AI 行为树
- GCD Again
- http://blog.csdn.net/leo115/article/details/7532677
- Error inflating class com.baidu.mapapi.map.MapView
- raid独立磁盘冗余阵列
- "railroad diagram"
- LINK1123:failure during conversion to COFF:file invalid or corrupt
- Ajaxadr ajax跨域请求crossdomain
- mybaits in
- HDOJ Train Problem I
- RevitAPI: 事务的错误或警告信息的处理 - Failure Processor of Transaction .
- 70. Climbing Stairs
- 解决TIME_WAIT过多造成的问题
- sleep() 和 wait() 有什么区别?
- AIDL初探以及学习