import sys import gdb # Update module path. dir_ = '@DATADIR@/gstreamer-@GST_API_VERSION@/gdb' if not dir_ in sys.path: sys.path.insert(0, dir_) from gst_gdb import register register (gdb.current_objfile ())