* NEWS: Document python gdb.printing.register_pretty_printer's new
authorDoug Evans <dje@google.com>
Sun, 16 Oct 2011 19:40:37 +0000 (19:40 +0000)
committerDoug Evans <dje@google.com>
Sun, 16 Oct 2011 19:40:37 +0000 (19:40 +0000)
`replace' parameter.

gdb/ChangeLog
gdb/NEWS

index 1e7b1b0f775cf190a8c134f8430925f36ceec8be..a52736aa75058b5d5bab66272f24d28033947977 100644 (file)
@@ -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
index 1e294e02b8425f88eecf8c9d46be6bbf216046bc..eab6bdc6ac65fa064f5723ec6013dd106825b101 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
 
 * 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