1import sys 2import gdb 3 4# Update module path. 5dir_ = '@datadir@/glib-2.0/gdb' 6if not dir_ in sys.path: 7 sys.path.insert(0, dir_) 8 9from glib_gdb import register 10register (gdb.current_objfile ()) 11
1import sys 2import gdb 3 4# Update module path. 5dir_ = '@datadir@/glib-2.0/gdb' 6if not dir_ in sys.path: 7 sys.path.insert(0, dir_) 8 9from glib_gdb import register 10register (gdb.current_objfile ()) 11