From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20239 invoked by alias); 14 Jan 2012 04:06:35 -0000 Received: (qmail 20230 invoked by uid 22791); 14 Jan 2012 04:06:34 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Jan 2012 04:06:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7AFE02BAEA4; Fri, 13 Jan 2012 23:06:20 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VXiFU8SS5cD6; Fri, 13 Jan 2012 23:06:20 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 02A9C2BAD3D; Fri, 13 Jan 2012 23:06:19 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id CEB22145616; Sat, 14 Jan 2012 08:05:53 +0400 (RET) Date: Sat, 14 Jan 2012 08:25:00 -0000 From: Joel Brobecker To: Doug Evans Cc: gdb-patches@sourceware.org, marc.khouzam@ericsson.com Subject: Re: [RFA] restore "mt set python print-stack" for gdb 7.4 Message-ID: <20120114040553.GV31383@adacore.com> References: <20120114004152.083902461A8@ruffy.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120114004152.083902461A8@ruffy.mtv.corp.google.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2012-01/txt/msg00510.txt.bz2 > Joel, ok to check into the branch? Looks good to me! > 2012-01-13 Doug Evans > > Restore "mt set python print-stack on|off" for 7.4. > * NEWS: Update to indicate "mt set python print-stack" is deprecated, > but not deleted yet, and will be gone in gdb 7.5. > * python/python.c (maint_set_python_list, maint_show_python_list): > New global vars. > (maint_set_python, maint_show_python): New functions. > (gdbpy_should_print_stack_deprecated): New global var. > (set_maint_python_print_stack): New function. > (show_maint_python_print_stack): New function. > (_initialize_python): Define commands > "mt set python print-stack on|off" and ""mt show python print-stack". [...] > Index: NEWS > =================================================================== > RCS file: /cvs/src/src/gdb/NEWS,v > retrieving revision 1.472.2.3 > diff -u -p -r1.472.2.3 NEWS > --- NEWS 1 Jan 2012 21:47:08 -0000 1.472.2.3 > +++ NEWS 14 Jan 2012 00:24:15 -0000 > @@ -29,10 +29,11 @@ > existing one. > > ** The "maint set python print-stack on|off" command has been > - removed. A new command: "set python print-stack > - none|full|message" has replaced it. Additionally, the default > - for "print-stack" is now "message", which just prints the error > - message without the stack trace. > + deprecated and will be deleted in GDB 7.5. > + A new command: "set python print-stack none|full|message" has > + replaced it. Additionally, the default for "print-stack" is > + now "message", which just prints the error message without > + the stack trace. I think we need to update the NEWS file on the HEAD as well. I would resynchronize the contents of the "in GDB 7.4" section on the HEAD with the above, and then add a small entry in "since 7.4" to say that the deprecated command has now been removed. -- Joel