Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "target/riscv: Reject size 2 soft breakpoints when C extension not supported" #940

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

timsifive
Copy link
Collaborator

Reverts #908.

This change causes issues because it's not completely clear whether misa.C must be set if Zc* is implemented. (riscvarchive/riscv-code-size-reduction#228 (comment) suggests it might be required, but the specs themselves aren't clear enough about it.)

Potentially we could test c.nop in examine() (#908 (comment)). But let's get OpenOCD back to full functionality soon, and then maybe we can reintroduce this change in a more robust way.

@timsifive timsifive merged commit 132e3fa into riscv Oct 23, 2023
5 checks passed
@timsifive timsifive deleted the revert-908-disable-soft-bp-size-2-non-compressed branch October 23, 2023 18:45
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