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