aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-10 18:57:15 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-10 18:57:15 +0000
commit14fb1bac2d4fe710dc9aebedf18bd449acdac1dc (patch)
tree9bad3758609ba8c555bf143c49d31ac8de2f1e8a /gdb/doc
parent910c5da8fe593c019c041bb7df5760494d6270b2 (diff)
downloadgdb-14fb1bac2d4fe710dc9aebedf18bd449acdac1dc.zip
gdb-14fb1bac2d4fe710dc9aebedf18bd449acdac1dc.tar.gz
gdb-14fb1bac2d4fe710dc9aebedf18bd449acdac1dc.tar.bz2
Add documentation for set/show interactive-mode.
* gdb.texinfo (Other Misc Settings): New node.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo23
2 files changed, 28 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index f23b507..b3f8fc7 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-10 Joel Brobecker <brobecker@adacore.com>
+
+ Add documentation for set/show interactive-mode.
+ * gdb.texinfo (Other Misc Settings): New node.
+
2009-09-01 Doug Evans <dje@google.com>
* gdb.texinfo (Caching Data of Remote Targets): Add note on
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 52ead12..7b26675 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17620,6 +17620,7 @@ described here.
* ABI:: Configuring the current ABI
* Messages/Warnings:: Optional warnings and messages
* Debugging Output:: Optional messages about internal happenings
+* Other Misc Settings:: Other Miscellaneous Settings
@end menu
@node Prompt
@@ -18250,6 +18251,28 @@ Turns on or off debugging messages for built-in XML parsers.
Displays the current state of XML debugging messages.
@end table
+@node Other Misc Settings
+@section Other Miscellaneous Settings
+@cindex miscellaneous settings
+
+@table @code
+@kindex set interactive-mode
+@item set interactive-mode
+If @code{on}, forces @value{GDBN} to operate interactively.
+If @code{off}, forces @value{GDBN} to operate non-interactively,
+If @code{auto} (the default), @value{GDBN} guesses which mode to use,
+based on whether the debugger was started in a terminal or not.
+
+In the vast majority of cases, the debugger should be able to guess
+correctly which mode should be used. But this setting can be useful
+in certain specific cases, such as running a MinGW @value{GDBN}
+inside a cygwin window.
+
+@kindex show interactive-mode
+@item show interactive-mode
+Displays whether the debugger is operating in interactive mode or not.
+@end table
+
@node Extending GDB
@chapter Extending @value{GDBN}
@cindex extending GDB