From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16701 invoked by alias); 14 Jan 2012 18:15:23 -0000 Received: (qmail 16693 invoked by uid 22791); 14 Jan 2012 18:15:22 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Jan 2012 18:15:09 +0000 Received: by vbbfa15 with SMTP id fa15so132599vbb.0 for ; Sat, 14 Jan 2012 10:15:09 -0800 (PST) Received: by 10.52.90.71 with SMTP id bu7mr2837160vdb.63.1326564909029; Sat, 14 Jan 2012 10:15:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.90.71 with SMTP id bu7mr2837153vdb.63.1326564908958; Sat, 14 Jan 2012 10:15:08 -0800 (PST) Received: by 10.220.229.1 with HTTP; Sat, 14 Jan 2012 10:15:08 -0800 (PST) In-Reply-To: <20120114040553.GV31383@adacore.com> References: <20120114004152.083902461A8@ruffy.mtv.corp.google.com> <20120114040553.GV31383@adacore.com> Date: Sat, 14 Jan 2012 21:07:00 -0000 Message-ID: Subject: Re: [RFA] restore "mt set python print-stack" for gdb 7.4 From: Doug Evans To: Joel Brobecker Cc: gdb-patches@sourceware.org, marc.khouzam@ericsson.com X-System-Of-Record: true Content-Type: text/plain; charset=ISO-8859-1 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: 2012-01/txt/msg00515.txt.bz2 On Fri, Jan 13, 2012 at 8:05 PM, Joel Brobecker wrote: > 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. Thanks. I committed this. 2012-01-14 Doug Evans * NEWS: Update text for "maint set python print-stack". It is deprecated in gdb 7.4 and deleted in 7.5. Index: NEWS =================================================================== RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.478 diff -u -p -r1.478 NEWS --- NEWS 2 Jan 2012 02:28:56 -0000 1.478 +++ NEWS 14 Jan 2012 18:12:26 -0000 @@ -3,6 +3,10 @@ *** Changes since GDB 7.4 +* Python scripting + + ** The "maint set python print-stack on|off" is now deleted. + * GDBserver now supports stdio connections. E.g. (gdb) target remote | ssh myhost gdbserver - hello @@ -37,10 +41,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. ** A prompt substitution hook (prompt_hook) is now available to the Python API.