7b51bc51e1
enable pretty-printer, disable pretty-printer. * NEWS: Mention them. * data-directory/Makefile.in (PYTHON_FILES): Add gdb/printing.py, gdb/command/__init__.py, gdb/command/pretty_printers.py. * python/lib/gdb/__init__.py: Install pretty-printer commands. * python/lib/gdb/printing.py: New file. * python/lib/gdb/command/__init__.py: New file. * python/lib/gdb/command/pretty_printers.py: New file. doc/ * gdb.texinfo (Pretty Printing): Expand into three sections, introduction, example, and commands. (Python API): Delete section Disabling Pretty-Printers, merge into Selecting Pretty-Printers. (Writing a Pretty-Printer): New section. Move the pretty-printer example here, and reformat to match python coding style. Add a second example using the gdb.printing module. (Python modules): Add gdb.printing. testsuite/ * gdb.python/py-pp-maint.c: New file. * gdb.python/py-pp-maint.exp: New file. * gdb.python/py-pp-maint.py: New file. |
||
---|---|---|
.. | ||
lib-types.cc | ||
lib-types.exp | ||
Makefile.in | ||
py-block.c | ||
py-block.exp | ||
py-breakpoint.c | ||
py-breakpoint.exp | ||
py-cmd.exp | ||
py-error.exp | ||
py-error.py | ||
py-frame.c | ||
py-frame.exp | ||
py-function.exp | ||
py-inferior.c | ||
py-inferior.exp | ||
py-infthread.c | ||
py-infthread.exp | ||
py-mi.exp | ||
py-param.exp | ||
py-pp-maint.c | ||
py-pp-maint.exp | ||
py-pp-maint.py | ||
py-prettyprint.c | ||
py-prettyprint.exp | ||
py-prettyprint.py | ||
py-progspace.c | ||
py-progspace.exp | ||
py-section-script.c | ||
py-section-script.exp | ||
py-section-script.py | ||
py-shared-sl.c | ||
py-shared.c | ||
py-shared.exp | ||
py-symbol.c | ||
py-symbol.exp | ||
py-symtab.exp | ||
py-template.cc | ||
py-template.exp | ||
py-type.c | ||
py-type.exp | ||
py-value.c | ||
py-value.exp | ||
python-1.c | ||
python.c | ||
python.exp | ||
source1 | ||
source2.py |