tutorial: http://linuxtools-rst.readthedocs.io/zh_CN/latest/base/index.html【感谢原作者】 此篇仅整...

tutorial: http://linuxtools-rst.readthedocs.io/zh_CN/latest/base/index.html【感谢原作者】 此篇仅整...
1. 编译时允许gdb: 在编译命令中加入-g gcc/g++ filename.c/cpp -Wall -o a.out -g 2. 启动gdb gdb 3.调试某文件 f...