GDB是linux開發人員必學的調試工具,說白了,在Linux下面也沒有其他的調試器了……。
這幾天在看編譯原理,書上有一個c語法的編譯器,是linux下面的,看書看的一臉懵,所以準備單步調試來學習,沒辦法,首先學了一下GDB。
下面是整理的一些GDB調試教程:
http://www.thisisgame.com.cn/gdb/gdb-tutorial.html
http://www.thisisgame.com.cn/gdb/gdb-command.html
http://www.thisisgame.com.cn/gdb/gdb-debug.html
http://www.thisisgame.com.cn/gdb/gdb-debug-set-args.html
http://www.thisisgame.com.cn/gdb/gdb-debug-get-var.html
http://www.thisisgame.com.cn/gdb/gdb-debug-get-array.html
http://www.thisisgame.com.cn/gdb/gdb-debug-next.html
http://www.thisisgame.com.cn/gdb/gdb-debug-stepin-stepout.html
http://www.thisisgame.com.cn/gdb/gdb-breakpoint-to-file.html
http://www.thisisgame.com.cn/gdb/gdb-callstack.html
GDB 調試實例
http://www.thisisgame.com.cn/gdb/gdb-debug-normal-tutorial.html