Skip to content

gdb/amd-dbgapi-target: support attaching without forward progress#182

Open
lancesix wants to merge 1 commit into
amd-stagingfrom
users/lancesix/dbgapi-attach-without-forward-progress
Open

gdb/amd-dbgapi-target: support attaching without forward progress#182
lancesix wants to merge 1 commit into
amd-stagingfrom
users/lancesix/dbgapi-attach-without-forward-progress

Conversation

@lancesix

@lancesix lancesix commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

An upcoming version of dbgapi will support attaching with forward progress disabled. This avoid doing multiple queue suspend - resume cycles during the attach when this is not necessary.

To avoid confusing existing clients, this feature is exposed as an opt-in. This patch teaches GDB about that new interface, and makes sure to attach with forward progress disabled if commit-resumed-state is disabled for the process target.

This patch will be needed for ROCm/rocm-systems#7657

Change-Id: I8b48c2a19a7f089c73cf80820ebacac918a90b65

@lancesix lancesix requested a review from a team as a code owner June 23, 2026 09:39
An upcoming version of dbgapi will support attaching with forward
progress disabled.  This avoid doing multiple queue suspend - resume
cycles during the attach when this is not necessary.

To avoid confusing existing clients, this feature is exposed as an
opt-in.  This patch teaches GDB about that new interface, and makes sure
to attach with forward progress disabled if commit-resumed-state is
disabled for the process target.

Change-Id: I8b48c2a19a7f089c73cf80820ebacac918a90b65
@lancesix lancesix force-pushed the users/lancesix/dbgapi-attach-without-forward-progress branch from 8dbab01 to ef3562e Compare June 23, 2026 10:53
@lancesix lancesix assigned simark and unassigned czidev-amd Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants