From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17987 invoked by alias); 6 Aug 2010 08:35:01 -0000 Received: (qmail 17976 invoked by uid 22791); 6 Aug 2010 08:35:00 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Aug 2010 08:34:53 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L6Q00F002EGMU00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 06 Aug 2010 11:34:51 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.102.143]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L6Q00FSQ2I22E50@a-mtaout20.012.net.il>; Fri, 06 Aug 2010 11:34:51 +0300 (IDT) Date: Fri, 06 Aug 2010 08:35:00 -0000 From: Eli Zaretskii Subject: Re: [patch] Fix python gdb.execute to not paginate In-reply-to: <20100805212008.GA12652@host1.dyn.jankratochvil.net> To: Jan Kratochvil Cc: gdb-patches@sourceware.org, dmalcolm@redhat.com Reply-to: Eli Zaretskii Message-id: <83k4o4w34e.fsf@gnu.org> References: <20100805212008.GA12652@host1.dyn.jankratochvil.net> 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-08/txt/msg00057.txt.bz2 > Date: Thu, 5 Aug 2010 23:20:08 +0200 > From: Jan Kratochvil > Cc: David Malcolm > > gdb/doc/ > 2010-08-05 Jan Kratochvil > > * gdb.texinfo (Mode Options) <-batch> > (Basic Python) : Describe setting width and height. Thanks. > command files specified with @samp{-x} (and all commands from > initialization files, if not inhibited with @samp{-n}). Exit with > nonzero status if an error occurs in executing the @value{GDBN} commands > -in the command files. Batch mode also disables pagination; > -@pxref{Screen Size} and acts as if @kbd{set confirm off} were in > -effect (@pxref{Messages/Warnings}). > +in the command files. Batch mode also disables pagination, sets unlimited > +terminal width and height; @pxref{Screen Size} and acts as if @kbd{set confirm ^ ^ The semi-colon should be removed, and a comma added after @pxref's closing brace. > +return value is @code{None}. With @code{True} @var{to_string} the > +@value{GDBN} virtual terminal has temporarily set unlimited width and height > +with disabled pagination; @pxref{Screen Size}. Suggest to rephrase as follows (assuming I got your intent correctly): If @var{to_string} is @code{True}, the @value{GDBN} virtual terminal will be temporarily set to unlimited width and height, and its pagination will be disabled; @pxref{Screen Size}. Okay with those changes.