bolt/deps/llvm-18.1.8/openmp/libompd/gdb-plugin/ompd/__init__.py
2025-02-14 19:21:04 +01:00

16 lines
383 B
Python

import sys
import os.path
import traceback
if __name__ == "__main__":
try:
sys.path.append(os.path.dirname(__file__))
import ompd
ompd.main()
print("OMPD GDB support loaded")
print("Run 'ompd init' to start debugging")
except Exception as e:
traceback.print_exc()
print("Error: OMPD support could not be loaded", e)