commit 1c0d02ae504f32e2728723f62d6b1c290c9c12b0 Author: Joel Brobecker Date: Tue Jun 23 10:32:56 2009 -0700 Add documentation for set/show interactive-mode. * gdb.texinfo (Other Misc Settings): New node. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 94852ec..f8e77e0 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -17392,6 +17392,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 @@ -18021,6 +18022,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