随笔分类 -  linux-c

摘要:GDB(GNU Debugger) gcc -g –o testarg testarg.c //可执行文件中带上调试信息,用于后续的gdb调试 gdb testarg l; list //显示源程序 b 6; break 6 //在第6行设置断点 r; run // n; next 单步执行,不跟踪 阅读全文
posted @ 2017-10-16 10:54 mstark 阅读(281) 评论(0) 推荐(0)