File: libgobject-gdb.py.in

package info (click to toggle)
gobject-introspection 1.74.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 68,092 kB
  • sloc: ansic: 524,161; xml: 32,098; python: 21,234; yacc: 1,707; perl: 1,411; sh: 1,044; lex: 499; cpp: 171; makefile: 77; lisp: 1
file content (10 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
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_gdb import register
register (gdb.current_objfile ())