摘要: gcc -g -o test test.c gdb 或 gdb ./test (gdb) file ./test (gdb) r Hello, World! 调试代码: run(r):运行代码 next(n):单步跟踪,函数调用当作一条简单语句执行 step(s):单步跟踪,函数进入被调用函数体内 阅读全文
posted @ 2020-07-25 15:28 绍荣 阅读(265) 评论(0) 推荐(0) 编辑