主题 : GDB调试出现No symbol table is loaded.  Use the "file" command. 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 58127
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2011-11-03
最后登录: 2012-12-05
楼主  发表于: 2012-05-15 09:15

 GDB调试出现No symbol table is loaded.  Use the "file" command.

各位高手:
我的程序在使用GDB 调试的时候出现No symbol table is loaded.  Use the "file" command.上网查了一下说是没加-g选项,可是我的Makefile中加了啊。还请各位高手帮我看一下,怎么修改。谢谢了。
[ 此帖被孟艳茹在2012-05-15 10:41重新编辑 ]
附件: Makefile.rar (3 K) 下载次数:7
级别: 新手上路
UID: 79978
精华: 0
发帖: 32
金钱: 160 两
威望: 32 点
综合积分: 64 分
注册时间: 2012-10-17
最后登录: 2012-11-01
1楼  发表于: 2012-10-26 10:53

 Re:GDB调试出现No symbol table is loaded. Use the "file" command.

我也遇到同样问题,mark一下
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2012-10-26 15:56

 回 1楼(eastsea) 的帖子

能否具体说出你的步骤?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."