Initial support for gdb python macros

This includes support for gobject pointer pretty printing and
signal frame compression in backtraces.

https://bugzilla.gnome.org/show_bug.cgi?id=595619
This commit is contained in:
Alexander Larsson
2009-09-18 17:15:32 +02:00
parent 18af48ba9a
commit efe9169234
6 changed files with 375 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
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 ())