[PATCH 0/3] Add displaced stepping support for AMD GPUs
simon.marchi@polymtl.ca
simon.marchi@polymtl.ca
Tue Jan 14 19:16:20 GMT 2025
From: Simon Marchi <simon.marchi@polymtl.ca>
The AMD GPU port is still very barebone (i.e. not useful as-is), what's
blocking is mostly waiting for the DWARF extensions proposed by AMD to
be standardized. But displaced stepping is a small piece that can be
upstreamed and tested without needing DWARF.
Simon Marchi (3):
gdb/amd-dbgapi: use gdb::unordered_map
gdb: add target displaced stepping support
gdb/amd-dbgapi: add displaced stepping support
gdb/amd-dbgapi-target.c | 143 +++++++++++++++++-
gdb/displaced-stepping.c | 43 ++++++
gdb/displaced-stepping.h | 67 ++++++++
gdb/infrun.c | 42 ++---
gdb/target-debug.h | 18 +++
gdb/target-delegates-gen.c | 108 +++++++++++++
gdb/target.h | 19 +++
gdb/testsuite/gdb.rocm/displaced-stepping.exp | 54 +++++++
8 files changed, 465 insertions(+), 29 deletions(-)
create mode 100644 gdb/testsuite/gdb.rocm/displaced-stepping.exp
base-commit: d3685ec080cc5bfb9646cdc1f5ddda0c3da92b76
--
2.47.1
More information about the Gdb-patches
mailing list