From 14fb1bac2d4fe710dc9aebedf18bd449acdac1dc Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 10 Sep 2009 18:57:15 +0000 Subject: [PATCH] Add documentation for set/show interactive-mode. * gdb.texinfo (Other Misc Settings): New node. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f23b5076055..b3f8fc7eb0b 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-10 Joel Brobecker + + Add documentation for set/show interactive-mode. + * gdb.texinfo (Other Misc Settings): New node. + 2009-09-01 Doug Evans * gdb.texinfo (Caching Data of Remote Targets): Add note on diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 52ead12303d..7b2667535ca 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 -- 2.30.2