old-cross-binutils/gdb/python
Doug Evans 967cf47793 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.
2010-06-04 18:18:28 +00:00
..
py-auto-load.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-block.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-breakpoint.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-cmd.c Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
py-frame.c 2010-05-07 Michael Snyder <msnyder@vmware.com> 2010-05-07 19:26:30 +00:00
py-function.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-lazy-string.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-objfile.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-param.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-prettyprint.c Add support for enabling/disabling individual pretty-printers. 2010-06-04 18:18:28 +00:00
py-progspace.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symtab.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-type.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
py-utils.c Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
py-value.c 2010-05-17 Michael Snyder <msnyder@vmware.com> 2010-05-17 21:23:25 +00:00
python-config.py * configure.ac: Try to use python's distutils to fetch compilation 2010-05-27 01:36:22 +00:00
python-internal.h Add support for enabling/disabling individual pretty-printers. 2010-06-04 18:18:28 +00:00
python.c Add support for enabling/disabling individual pretty-printers. 2010-06-04 18:18:28 +00:00
python.h * configure.ac (CONFIG_SRCS): Add py-auto-load.o even if not using 2010-04-23 18:09:16 +00:00