This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] restore "mt set python print-stack" for gdb 7.4
On Fri, Jan 13, 2012 at 8:05 PM, Joel Brobecker <brobecker@adacore.com> 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 <dje@google.com>
* 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.