2020年10月1日

linux 调试core文件的三个方法

摘要: 一, gdb 查看core文件 gdb exe-file core-file 二, SIGSEGV 信号捕捉 注意: nm, map 只能找到函数地址,不能找到代码行地址。 map 文件生成选项 gcc c.c -Wl,-Map=mapname.map #include <execinfo.h> # 阅读全文

posted @ 2020-10-01 23:34 ims- 阅读(388) 评论(0) 推荐(0) 编辑

导航