From ff12863fb82c162de00f36bb96e416d5d2429f0f Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 31 Mar 2010 12:19:52 +0000 Subject: [PATCH] * gdb.texinfo (TUI Commands): Mention that in some cases, these commands error out. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index bc68edb5569..5cbd9c5c6f5 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-03-31 Pedro Alves + + * gdb.texinfo (TUI Commands): Mention that in some cases, these + commands error out. + 2010-03-30 H.J. Lu * gdb.texinfo (i386 Features): Add org.gnu.gdb.i386.avx. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e60977b8e82..c9b1d08f31b 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 -- 2.30.2