aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-10-16 19:40:37 +0000
committerDoug Evans <dje@google.com>2011-10-16 19:40:37 +0000
commit32d1c362a621b3f4bc996f57dffafbdf3397518b (patch)
tree296584427524e76588b1a62fbb007efab67aded7 /gdb
parent746c5e8cf04907404d06ba0919c008f0da633255 (diff)
downloadbinutils-32d1c362a621b3f4bc996f57dffafbdf3397518b.zip
binutils-32d1c362a621b3f4bc996f57dffafbdf3397518b.tar.gz
binutils-32d1c362a621b3f4bc996f57dffafbdf3397518b.tar.bz2
* NEWS: Document python gdb.printing.register_pretty_printer's new
`replace' parameter.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/NEWS4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1e7b1b0..a52736a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-16 Doug Evans <dje@google.com>
+
+ * NEWS: Document python gdb.printing.register_pretty_printer's new
+ `replace' parameter.
+
2011-10-14 Keith Seitz <keiths@redhat.com>
PR c++/13225
diff --git a/gdb/NEWS b/gdb/NEWS
index 1e294e0..eab6bdc 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -15,6 +15,10 @@
* Python scripting
+ ** The register_pretty_printer function in module gdb.printing now takes
+ an optional `replace' argument. If True the new printer replaces any
+ existing one.
+
** The "maint set python print-stack on|off" command has been
deprecated, and a new command: "set python print-stack on|off" has
replaced it. Additionally, the default for "print-stack" is now