[OpenMP][OMPD] GDB plugin code to leverage libompd to provide debugging
authorVignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com>
Tue, 12 Jul 2022 08:32:50 +0000 (14:02 +0530)
committerVignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com>
Tue, 12 Jul 2022 09:08:41 +0000 (14:38 +0530)
commit51d3f421f48f7c888c37a13be049a4ca8b61436e
tree9787d60c16415c0637a85aa7faeac964cbe8804e
parent00d1a1a25fbbfd1fdc43f31194378423a707c738
[OpenMP][OMPD] GDB plugin code to leverage libompd to provide debugging
support for OpenMP programs.

This is 5th of 6 patches started from https://reviews.llvm.org/D100181
This plugin code, when loaded in gdb, adds a few commands like
ompd icv, ompd bt, ompd parallel.
These commands create an interface for GDB to read the OpenMP
runtime through libompd.

Reviewed By: @dreachem
Differential Revision: https://reviews.llvm.org/D100185
12 files changed:
openmp/libompd/CMakeLists.txt
openmp/libompd/gdb-plugin/CMakeLists.txt [new file with mode: 0644]
openmp/libompd/gdb-plugin/README.txt [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/__init__.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/frame_filter.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/ompd.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/ompd_address_space.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/ompd_callbacks.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompd/ompd_handles.py [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompdAPITests.c [new file with mode: 0644]
openmp/libompd/gdb-plugin/ompdModule.c [new file with mode: 0644]
openmp/libompd/gdb-plugin/setup.py [new file with mode: 0644]