OSDN Git Service

Add documentation for set/show interactive-mode.
authorbrobecke <brobecke>
Thu, 10 Sep 2009 18:57:15 +0000 (18:57 +0000)
committerbrobecke <brobecke>
Thu, 10 Sep 2009 18:57:15 +0000 (18:57 +0000)
        * gdb.texinfo (Other Misc Settings): New node.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index f23b507..b3f8fc7 100644 (file)
@@ -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
index 52ead12..7b26675 100644 (file)
@@ -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