This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Don't allow switching on the TUI in some cases
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Wed, 31 Mar 2010 12:47:07 +0100
>
> 2010-03-31 Pedro Alves <pedro@codesourcery.com>
>
> gdb/doc/
> * gdb.texinfo (TUI Commands): Mention that in some cases, these
> commands error out.
>
> ---
> gdb/doc/gdb.texinfo | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> Index: src/gdb/doc/gdb.texinfo
> ===================================================================
> --- src.orig/gdb/doc/gdb.texinfo 2010-03-31 12:32:17.000000000 +0100
> +++ src/gdb/doc/gdb.texinfo 2010-03-31 12:42:53.000000000 +0100
> @@ -21653,6 +21653,12 @@ These commands are always available, eve
> 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.
That's fine, thanks.