mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
8071012728
Proposed by David Malcolm, https://bugzilla.gnome.org/show_bug.cgi?id=636387
11 lines
195 B
Python
11 lines
195 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 ())
|