paulbergmann_mpstubs/tools/gdb/stubs.py

12 lines
325 B
Python
Raw Normal View History

import sys
# path to local stubs package
sys.path.insert(1, './tools/gdb/')
# path to checkout of qmp package 'https://pypi.org/project/qemu.qmp/'
sys.path.insert(1, '/proj/i4stubs/tools/python/')
try:
import stubs
except Exception as e:
print(f"could not load gdb stubs plugin: {str(e)}", file=sys.stderr)
pass