GDB禁用(y或n)提示

时间:2013-05-06 15:01:40

标签: gdb

有没有办法阻止gdb一直显示(y or n)提示?

示例:

(gdb) k
Kill the program being debugged? (y or n)

帮助不显示任何内容

(gdb) help kill
Kill execution of program being debugged.

List of kill subcommands:

kill inferiors -- Kill inferior ID (or list of IDs)

Type "help kill" followed by kill subcommand name for full documentation.
Type "apropos word" to search for commands related to "word".
Command name abbreviations are allowed if unambiguous.

apropos无济于事

(gdb) apropos kill
kill -- Kill execution of program being debugged
kill inferiors -- Kill inferior ID (or list of IDs)
set remote kill-packet -- Set use of remote protocol `vKill' (kill) packet
show remote kill-packet -- Show current use of remote protocol `vKill' (kill) packet`

0 个答案:

没有答案