有没有办法阻止 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`