From df6badfe31249bf8e0c4b0c1975c2b52d4732b6b Mon Sep 17 00:00:00 2001 From: brobecke 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 f23b507605..b3f8fc7eb0 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 52ead12303..7b2667535c 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.11.0