File: README

package info (click to toggle)
subversion 1.14.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 80,496 kB
  • sloc: ansic: 1,039,361; python: 140,270; cpp: 24,862; java: 24,547; ruby: 12,310; lisp: 7,619; sh: 7,414; perl: 7,010; sql: 1,686; makefile: 1,191; xml: 577
file content (29 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
This directory includes a Python module which will integrate with gdb which
can be used to pretty-print various Subversion types.  For additional
information about gdb pretty-printing, see:

  http://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing.html


How to Use
----------
To enable pretty printing of selected Subversion types, put the following code
in your ~/.gdbinit:

[[[
python
import sys, os.path
sys.path.insert(0, os.path.expanduser('~/dev/svn-trunk/tools/dev/gdb-py'))
from svndbg.printers import register_libsvn_printers
register_libsvn_printers(None)
end
]]]

Change the path to point to the correct location on your platform for the
gdb-py directory, and then load gdb.  Everything should Just Work.
(I believe this requires gdb >= 7.0, but earlier versions may also work.)

The list of currently supported types for pretty printing is a bit lacking,
so should you run into a type which could be useful to be pretty printed,
read the documentation referenced above and follow the existing examples
to extend the pretty-printing support.  Enjoy!