2014-02-09 26 views
1

我在调试远程存根(嵌入式,汇编)。我可以连接就好了:如何让GDB停止向我询问符号?

$ msp430-gdb -nx -ex 'target remote XXX' 

...

Remote debugging using XXX 
0x00004400 in ??() 
(gdb) 

现在,当我尝试设置一个断点,GDB抱怨道约没有符号:

(gdb) b 0x4404 
No symbol table is loaded. Use the "file" command. 
Make breakpoint pending on future shared library load? (y or [n]) n 
(gdb) 

我怎么能告诉它不问我“未来的图书馆负荷”或没有符号表?遥控器永远不会有这些东西。谢谢!

编辑:我是个白痴。破解地址的语法是'b * addr'。 GDB正在将0x4404解释为行号或符号或某种愚蠢的东西。

回答

1

FWIW对原始问题的回答是使用“设置断点挂起”;默认值为“auto”,但您可以使用“on”或“off”自动设置或拒绝挂起的断点。