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解释为行号或符号或某种愚蠢的东西。