summaryrefslogtreecommitdiff
path: root/gobject/libgobject-gdb.py.in
blob: e8b9dee349f1f173570e64d30350cc96936c1cfc (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_gdb import register
register (gdb.current_objfile ())