No symbol table is loaded. Use the "file" command. 解决方案

来源:互联网 发布:php密码破解 编辑:程序博客网 时间:2024/06/05 23:08

通过GDB调试程序时出现下面问题。

No symbol table is loaded.  Use the "file" command.

解决方法,确定Makefile 中所有的编译文件中都带有 -g。如果只有生成文件带-g,会出现上面的问题。

阅读全文
0 0
原创粉丝点击