Logo
Explore Help
Sign In
luc14n0/glib
1
0
Fork 0
You've already forked glib
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-10-04 12:49:19 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
a1982b4bfa427bb7c624e2fbd218bea1f4d4746c
glib/gobject/libgobject-gdb.py.in

11 lines
195 B
Python
Raw Normal View History

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
2009-09-18 17:15:32 +02:00
import sys
import gdb
# Update module path.
Avoid shadowing the dir builtin Proposed by David Malcolm, https://bugzilla.gnome.org/show_bug.cgi?id=636387
2010-12-03 14:08:36 -05:00
dir_ = '@datadir@/glib-2.0/gdb'
if not dir_ in sys.path:
sys.path.insert(0, dir_)
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
2009-09-18 17:15:32 +02:00
from gobject import register
register (gdb.current_objfile ())
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 99ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API