关闭 GDB 中设置断点的确认

mrk*_*afk 5 c gdb

在共享库上设置断点:

(gdb) b file.c:278
 No symbol table is loaded.  Use the "file" command.
 Make breakpoint pending on future shared library load? (y or [n]) y
Run Code Online (Sandbox Code Playgroud)

我可以让 gdb 不问这个问题吗?(也就是说,跳过确认?)

Tom*_*mey 4

请参阅“帮助设置断点待处理”或“apropos 待处理”。

  • 设置断点挂起 (3认同)