mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 16:06:16 +01:00
11 lines
192 B
Python
11 lines
192 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 ())
|