* gdb.texinfo (TUI Commands): Mention that in some cases, these
authorPedro Alves <palves@redhat.com>
Wed, 31 Mar 2010 12:19:52 +0000 (12:19 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 31 Mar 2010 12:19:52 +0000 (12:19 +0000)
commands error out.

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

index bc68edb..5cbd9c5 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.texinfo (TUI Commands): Mention that in some cases, these
+       commands error out.
+
 2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx.
index e60977b..c9b1d08 100644 (file)
@@ -21653,6 +21653,12 @@ These commands are always available, even when @value{GDBN} is not in
 the TUI mode.  When @value{GDBN} is in the standard mode, most
 of these commands will automatically switch to the TUI mode.
 
+Note that if @value{GDBN}'s @code{stdout} is not connected to a
+terminal, or @value{GDBN} has been started with the machine interface
+interpreter (@pxref{GDB/MI, ,The @sc{gdb/mi} Interface}), most of
+these commands will fail with an error, because it would not be
+possible or desirable to enable curses window management.
+
 @table @code
 @item info win
 @kindex info win