交叉调试时arm-linux-gdb提示:No symbol table is loaded. Use the "file" command.
2012-04-17 22:47
645 查看
今天在Linux上用GDB进行程序调试的时候,发现提示:No symbol table is loaded. Use the "file" command.
导致这个错误的原因一般是:在交叉编译时没有加-g选项.
所以在编译程序时一定要注意加上-g这个选项,尤其在写Makefile文件时,
一定不要偷懒,仔细检查,确认每个编译条件都添加了-g选项。
导致这个错误的原因一般是:在交叉编译时没有加-g选项.
所以在编译程序时一定要注意加上-g这个选项,尤其在写Makefile文件时,
一定不要偷懒,仔细检查,确认每个编译条件都添加了-g选项。
相关文章推荐
- 解决gdb调试报错“No symbol table is loaded. Use the "file" command.”
- gdb调试中出现No symbol table is loaded. Use the "file" command.问题
- gdb调试错误:No symbol table is loaded. Use the "file&qu
- No symbol table is loaded. Use the "file" command
- No symbol table is loaded. Use the "file" command.解决方法
- No symbol table is loaded. Use the "file" command 解决方案
- eclipse+minGW 调试ffmpeg错误:No symbol table is loaded. Use the "file" command.
- No symbol table is loaded. Use the "file" command 解决方案
- Ubuntu 中Codelite出现No executable file specified. Use the "file" or "exec-file" command
- vc6.0 点编译时提示Cannot complile the file 'D:\souce-code\vc-workspace\对话框\MainFrm.h'; no compile tool is
- GDB List no symbol table is loaded
- Xcode在真机调试的时候出现"The identity used to sign the executable is no longer valid"
- FCKeditor关于图片上传出现错误“ 提示没有权限 Type=Image” 以及出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/conf
- GCC升级到4.8之后,gdb调试No symbol "XXXXX" in current context问题
- gdb调试错误:No symbol table is loaded. Use the "file" command.
- gdb调试时No symbol "var" defined in current context,局部变量不可查看问题
- gdb调试时No symbol "var" defined in current context,局部变量不可查看问题
- xcode在真机调试的时候出现"The identity used to sign the executable is no longer valid"
- gdb调试时No symbol "var" defined in current context,局部变量不可查看问题
- arm-linux-gcc( arm-none-linux-gnueabi-gcc) cause "No such file or directory"