gdb調試經常使用命令

gcc -g main.c //在目標文件加入源代碼的信息 gdb a.out (gdb) start //開始調試 (gdb) n //一條一條執行 (gdb) step/s //執行下一
相關文章
相關標籤/搜索