glib2.0/gobject/libgobject-gdb.py.in

11 lines
199 B
Python
Raw Normal View History

2022-06-29 16:02:05 +08:00
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 ())