From 910c5da8fe593c019c041bb7df5760494d6270b2 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 10 Sep 2009 18:56:45 +0000 Subject: * top.c (interactive_mode): New static variable. (show_interactive_mode): New function. (input_from_terminal_p): If interactive_mode is not auto, then use that rather than checking the stdin settings. (init_main): Add "set/show interactive-mode" command. * NEWS: Add entry for new "set/show interactive-mode" command. --- gdb/NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index e3e6774..14da6c8 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -400,6 +400,14 @@ show stack-cache performance of remote debugging (particularly backtraces) without affecting correctness. +set interactive-mode (on|off|auto) +show interactive-mode + Control whether GDB runs in interactive mode (on) or not (off). + When in interactive mode, GDB waits for the user to answer all + queries. Otherwise, GDB does not wait and assumes the default + answer. When set to auto (the default), GDB determines which + mode to use based on the stdin settings. + * Removed commands info forks -- cgit v1.1