2

Is there a way to stop gdb from displaying (y or n) prompts all the time?

Example:

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

Help doesn't show anything

(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 doesn't help either

(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`
Ilia Choly
  • 18,070
  • 14
  • 92
  • 160

0 Answers0