From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2680 invoked by alias); 31 Mar 2010 07:30:25 -0000 Received: (qmail 2661 invoked by uid 22791); 31 Mar 2010 07:30:23 -0000 X-SWARE-Spam-Status: No, hits=4.4 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Mar 2010 07:30:17 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L0400700Y4CJF00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Wed, 31 Mar 2010 10:29:54 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.176.135]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L040050FY5TBD90@a-mtaout23.012.net.il>; Wed, 31 Mar 2010 10:29:54 +0300 (IDT) Date: Wed, 31 Mar 2010 07:30:00 -0000 From: Eli Zaretskii Subject: Re: Don't allow switching on the TUI in some cases In-reply-to: <201003302323.40127.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hbnxymmd.fsf@gnu.org> References: <201003302323.40127.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg01108.txt.bz2 > From: Pedro Alves > 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.