summaryrefslogtreecommitdiff
path: root/glib/libglib-gdb.py.in
blob: ef395b580ac2bc560828358363dde260acdd3d79 (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 glib_gdb import register
register (gdb.current_objfile ())