When you want to quit the gdb, a confirmation prompt will appear:
“A debugging session is active.
Inferior 1 [process 19114 ] will be killed.
Quit anyway? (y or n)“
It may be annoying sometimes. If you don't want to see it, you could input "set confirm off" in gdb. You can also write this command in .gdbinit.
“A debugging session is active.
Inferior 1 [process 19114 ] will be killed.
Quit anyway? (y or n)“
It may be annoying sometimes. If you don't want to see it, you could input "set confirm off" in gdb. You can also write this command in .gdbinit.
本文介绍如何在GDB调试器中禁用退出时的确认提示,通过输入命令或将其写入.gdbinit文件来避免每次退出时出现的烦人的确认对话框。
127

被折叠的 条评论
为什么被折叠?



