aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-06-04 18:18:28 +0000
committerDoug Evans <dje@google.com>2010-06-04 18:18:28 +0000
commit967cf47793f3a66dd3f8637279fe6d891dd2de9f (patch)
tree2b4a8257ec0d430b6cbdec547f6ef52ca97e7ca0 /gdb/NEWS
parent2dec564e9127282478f922bc9946248745c5b140 (diff)
downloadgdb-967cf47793f3a66dd3f8637279fe6d891dd2de9f.zip
gdb-967cf47793f3a66dd3f8637279fe6d891dd2de9f.tar.gz
gdb-967cf47793f3a66dd3f8637279fe6d891dd2de9f.tar.bz2
Add support for enabling/disabling individual pretty-printers.
* python/py-prettyprint.c (search_pp_list): Skip disabled printers. * python/python-internal.h (gdbpy_enabled_cst): Declare. * python/python.c (gdbpy_enabled_cst): Define. (_initialize_python): Initialize gdbpy_enabled_cst. * NEWS: Add entry. doc/ * gdb.texinfo (Python API): New node `Disabling Pretty-Printers'. testsuite/ * gdb.python/py-prettyprint.exp: Add new test for enabled and disabled printers. * gdb.python/py-prettyprint.py (disable_lookup_function): New function. (enable_lookup_function): New function.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index ad9a0f1..61208b1 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -104,6 +104,8 @@ is now deprecated.
** Pretty-printers are now also looked up in the current program space.
+** Pretty-printers can now be individually enabled and disabled.
+
** GDB now looks for names of Python scripts to auto-load in a
special section named `.debug_gdb_scripts', in addition to looking
for a OBJFILE-gdb.py script when OBJFILE is read by the debugger.