[pushed,v2,0/2] Fix debugging multi inferiors using the ROCm runtime

Message ID 20230731143031.313937-1-lancelot.six@amd.com
Headers
Series Fix debugging multi inferiors using the ROCm runtime |

Message

Lancelot SIX July 31, 2023, 2:30 p.m. UTC
  Hi,

Here are the patches addressing Pedro's comments on
https://sourceware.org/pipermail/gdb-patches/2023-June/200582.html.  As
the changes from V1 are minor, and following Pedro's recommendation,
I have pushed those 2 patches.

A have rebased and re-tested the patches.

Best,
Lancelot.

Lancelot Six (2):
  gdb/testsuite/rocm: Add the hip_devices_support_debug_multi_process
    proc
  gdb/amdgpu: Fix debugging multiple inferiors using the ROCm runtime

 gdb/amd-dbgapi-target.c                       |   8 +-
 gdb/testsuite/gdb.rocm/multi-inferior-gpu.cpp | 113 ++++++++++++++++++
 gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp |  89 ++++++++++++++
 gdb/testsuite/lib/rocm.exp                    |  20 ++++
 4 files changed, 227 insertions(+), 3 deletions(-)
 create mode 100644 gdb/testsuite/gdb.rocm/multi-inferior-gpu.cpp
 create mode 100644 gdb/testsuite/gdb.rocm/multi-inferior-gpu.exp


base-commit: 6a6e82dc75afc3d6d72e925ad562fba8f297251c