File: libglib-gdb.py.in

package info (click to toggle)
glib2.0 2.58.3-2+deb10u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, buster-backports, sid
  • size: 48,956 kB
  • sloc: ansic: 452,656; xml: 16,781; python: 6,149; makefile: 3,776; sh: 1,499; perl: 1,140; cpp: 9
file content (10 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (6)
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 glib_gdb import register
register (gdb.current_objfile ())