glib/gobject/libgobject-gdb.py.in
2010-12-03 14:08:36 -05:00

11 lines
195 B
Python

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 ())