summaryrefslogtreecommitdiff
path: root/gobject/libgobject-gdb.py.in
blob: fbd4879e170729dec5a8cbc4bf7d71e47b264208 (plain)
1
2
3
4
5
6
7
8
9
10
import sys
import gdb

# Update module path.
dir_ = '@datadir@/glib-2.0/gdb'
if not dir_ in sys.path:
    sys.path.insert(0, dir_)

from gobject import register
register (gdb.current_objfile ())