1
This directory includes a Python module which will integrate with gdb which
2
can be used to pretty-print various Subversion types. For additional
3
information about gdb pretty-printing, see:
5
http://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing.html
10
To enable pretty printing of selected Subversion types, put the following code
16
sys.path.insert(0, os.path.expanduser('~/dev/svn-trunk/tools/dev/gdb-py'))
17
from svndbg.printers import register_libsvn_printers
18
register_libsvn_printers(None)
22
Change the path to point to the correct location on your platform for the
23
gdb-py directory, and then load gdb. Everything should Just Work.
24
(I believe this requires gdb >= 7.0, but earlier versions may also work.)
26
The list of currently supported types for pretty printing is a bit lacking,
27
so should you run into a type which could be useful to be pretty printed,
28
read the documentation referenced above and follow the existing examples
29
to extend the pretty-printing support. Enjoy!