aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-03-31 12:19:52 +0000
committerPedro Alves <palves@redhat.com>2010-03-31 12:19:52 +0000
commitff12863fb82c162de00f36bb96e416d5d2429f0f (patch)
tree7cc9ffea7cc142f0588cee6828d1328376729bfd
parent9d6ded02f6ff449048b89fcaa83792037a6d66a9 (diff)
downloadgdb-ff12863fb82c162de00f36bb96e416d5d2429f0f.zip
gdb-ff12863fb82c162de00f36bb96e416d5d2429f0f.tar.gz
gdb-ff12863fb82c162de00f36bb96e416d5d2429f0f.tar.bz2
* gdb.texinfo (TUI Commands): Mention that in some cases, these
commands error out.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index bc68edb..5cbd9c5 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e60977b..c9b1d08 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