No symbol table is loaded. Use the "file" command 解决方案
问题描述:用gdb调试程序出现“No symbol table is loaded. Use the "file" command “。我的程序是Makefile文件编译的。解决方法:从网上获知出现这种情况的大多数原因是用gcc编译程序时没加 -g 选择,源文件在编译时,添加 -g 参数一般就能解决了。但是我的Makefile文件中编译 .c文件时添加了-
原创
2013-07-06 22:33:53 ·
10168 阅读 ·
0 评论