From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5146 invoked by alias); 7 Jul 2011 17:40:46 -0000 Received: (qmail 5131 invoked by uid 22791); 7 Jul 2011 17:40:44 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,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; Thu, 07 Jul 2011 17:40:29 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LNZ00A0050LTA00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Thu, 07 Jul 2011 20:40:21 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.8.216]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LNZ00A08537GY80@a-mtaout22.012.net.il>; Thu, 07 Jul 2011 20:40:21 +0300 (IDT) Date: Thu, 07 Jul 2011 18:47:00 -0000 From: Eli Zaretskii Subject: Re: [patch] PR python/12438 In-reply-to: To: pmuldoon@redhat.com Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y60ang8j.fsf@gnu.org> References: 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: 2011-07/txt/msg00244.txt.bz2 > From: Phil Muldoon > Cc: gdb-patches@sourceware.org > Date: Thu, 07 Jul 2011 17:11:36 +0100 > > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -20801,10 +20801,16 @@ End with a line saying just "end". > > @kindex maint set python print-stack > @item maint set python print-stack > -By default, @value{GDBN} will print a stack trace when an error occurs > -in a Python script. This can be controlled using @code{maint set > -python print-stack}: if @code{on}, the default, then Python stack > -printing is enabled; if @code{off}, then Python stack printing is > +This command is now deprecated. Instead use @code{set python > +print-stack} (@pxref{set python print-stack}). > + > +@kindex set python print-stack > +@item set python print-stack > +@anchor{set python print-stack} > +By default, @value{GDBN} will not print a stack trace when an error > +occurs in a Python script. This can be controlled using @code{set > +python print-stack}: if @code{on}, then Python stack printing is > +enabled; if @code{off}, the default, then Python stack printing is > disabled. > @end table Thanks. This part is okay, but please lose the @pxref and the anchor, because the referenced part is just one line away. Instead, say something like "..., described below."