首页 > 代码库 > msg="No symbol table is loaded. Use the \"file\" command."

msg="No symbol table is loaded. Use the \"file\" command."

用Eclipse调试的时候,下断点的unresolved breakpoint,报的是标题上的错误。原因显然是没有加载符号表,需要用gdb的file命令加载符号表。

(gdb) file [exec_file]

这样用以上命令就可以了。

 

reference:

http://stackoverflow.com/questions/9245685/gdb-no-symbol-table-is-loaded

http://www.cypress.com/?app=forum&id=167&rID=78095

http://blog.chinaunix.net/uid-20788636-id-1841300.html

msg="No symbol table is loaded. Use the \"file\" command."