diff --git a/openmp/libompd/gdb-plugin/ompd/__init__.py b/openmp/libompd/gdb-plugin/ompd/__init__.py index b9f572dce8dce..ab30e65392ea2 100644 --- a/openmp/libompd/gdb-plugin/ompd/__init__.py +++ b/openmp/libompd/gdb-plugin/ompd/__init__.py @@ -4,7 +4,7 @@ if __name__ == "__main__": try: - sys.path.append(os.path.dirname(__file__)) + sys.path.insert(0, os.path.dirname(__file__)) import ompd