标签:
gdb 程序名称
b exit //设置exit函数断点 run //运行程序 bt //查看程序调用堆栈,定位到exit所在行
使用gdb调试c程序莫名退出定位 exit 函数
原文地址:http://www.cnblogs.com/etangyushan/p/5416294.html