aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-10 18:56:45 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-10 18:56:45 +0000
commit910c5da8fe593c019c041bb7df5760494d6270b2 (patch)
tree0776efa1eb507cf2af5999160f91c1c878c7b6d6 /gdb/NEWS
parent800f6ec8e25806362f05460ed0e8804b60a59960 (diff)
downloadgdb-910c5da8fe593c019c041bb7df5760494d6270b2.zip
gdb-910c5da8fe593c019c041bb7df5760494d6270b2.tar.gz
gdb-910c5da8fe593c019c041bb7df5760494d6270b2.tar.bz2
* 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.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS8
1 files changed, 8 insertions, 0 deletions
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