From: simon.marchi@polymtl.ca
To: gdb-patches@sourceware.org
Cc: Lancelot SIX <lancelot.six@amd.com>,
Simon Marchi <simon.marchi@polymtl.ca>
Subject: [PATCH 0/3] Add displaced stepping support for AMD GPUs
Date: Tue, 14 Jan 2025 14:16:20 -0500 [thread overview]
Message-ID: <20250114191818.2393132-1-simon.marchi@polymtl.ca> (raw)
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
next reply other threads:[~2025-01-14 19:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 19:16 simon.marchi [this message]
2025-01-14 19:16 ` [PATCH 1/3] gdb/amd-dbgapi: use gdb::unordered_map simon.marchi
2025-01-15 10:55 ` Lancelot SIX
2025-01-15 18:41 ` Simon Marchi
2025-01-15 18:46 ` Simon Marchi
2025-01-15 18:50 ` Guinevere Larsen
2025-01-15 18:55 ` Lancelot SIX
2025-01-14 19:16 ` [PATCH 2/3] gdb: add target displaced stepping support simon.marchi
2025-01-14 19:16 ` [PATCH 3/3] gdb/amd-dbgapi: add " simon.marchi
2025-01-15 11:02 ` Lancelot SIX
2025-01-15 18:45 ` Simon Marchi
2025-02-25 17:17 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250114191818.2393132-1-simon.marchi@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=gdb-patches@sourceware.org \
--cc=lancelot.six@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox