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: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 31 Mar 2010 10:30:02 +0300
- Subject: Re: Don't allow switching on the TUI in some cases
- References: <201003302323.40127.pedro@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 30 Mar 2010 23:23:40 +0100
>
> void
> tui_enable (void)
> {
> + if (!tui_allowed_p ())
> + error (_("TUI mode not allowed"));
> +
Does this need a suitable change for the manual? We currently say
this in the "TUI Commands" node:
The TUI has specific commands to control the text windows. These
commands are always available, even when GDB is not in the TUI mode.
When GDB is in the standard mode, most of these commands will
automatically switch to the TUI mode.
Looks like this is no longer true with this patch, is that right?
Thanks.