mirror of https://gitee.com/openkylin/glib2.0.git
11 lines
196 B
Python
11 lines
196 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 glib_gdb import register
|
||
|
register (gdb.current_objfile ())
|