2009-09-18 17:15:32 +02:00
|
|
|
import sys
|
|
|
|
import gdb
|
|
|
|
|
|
|
|
# Update module path.
|
2010-12-03 20:08:36 +01:00
|
|
|
dir_ = '@datadir@/glib-2.0/gdb'
|
|
|
|
if not dir_ in sys.path:
|
|
|
|
sys.path.insert(0, dir_)
|
2009-09-18 17:15:32 +02:00
|
|
|
|
|
|
|
from gobject import register
|
|
|
|
register (gdb.current_objfile ())
|