From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13358 invoked by alias); 31 Mar 2010 12:09:12 -0000 Received: (qmail 13346 invoked by uid 22791); 31 Mar 2010 12:09:11 -0000 X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Mar 2010 12:09:01 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0500300B0RL500@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Wed, 31 Mar 2010 15:08:33 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.127.176.135]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L05000B1B26IQA0@a-mtaout22.012.net.il>; Wed, 31 Mar 2010 15:08:33 +0300 (IDT) Date: Wed, 31 Mar 2010 12:09:00 -0000 From: Eli Zaretskii Subject: Re: Don't allow switching on the TUI in some cases In-reply-to: <201003311247.07191.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <831vf0zoaf.fsf@gnu.org> References: <201003302323.40127.pedro@codesourcery.com> <83hbnxymmd.fsf@gnu.org> <201003311247.07191.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/msg01112.txt.bz2 > From: Pedro Alves > Date: Wed, 31 Mar 2010 12:47:07 +0100 > > 2010-03-31 Pedro Alves > > 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.