mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
efe9169234
This includes support for gobject pointer pretty printing and signal frame compression in backtraces. https://bugzilla.gnome.org/show_bug.cgi?id=595619
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 ())
|