This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Don't allow switching on the TUI in some cases


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]