Skip to content

[debug] dscratch* registers should be ignored in DisconnectTest - #656

Merged
aswaterman merged 1 commit into
riscv-software-src:masterfrom
lz-bro:fix-disconnect
Aug 4, 2026
Merged

[debug] dscratch* registers should be ignored in DisconnectTest#656
aswaterman merged 1 commit into
riscv-software-src:masterfrom
lz-bro:fix-disconnect

Conversation

@lz-bro

@lz-bro lz-bro commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Dscratch* CSRs should be ignored in DisconnectTest because their value is not guaranteed to remain intact between abstract commands. See [1].

[1] https://docs.riscv.org/reference/debug/debug_module.html#dm-hartinfo

DisconnectTest would fail in spike64-2.py due to mainline OpenOCD commit 25b89a9

Dscratch* CSRs should be ignored in DisconnectTest because
their value is not guaranteed to remain intact between
abstract commands. See [1].

[1] https://docs.riscv.org/reference/debug/debug_module.html#dm-hartinfo
@aswaterman
aswaterman merged commit 447a5fc into riscv-software-src:master Aug 4, 2026
2 checks passed
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.

2 participants