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

[debug] Reserve the trigger in HwbpManual #575

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

en-sc
Copy link
Collaborator

@en-sc en-sc commented Aug 7, 2024

After riscv-collab/riscv-openocd#1111 is merged, the registers a user wishes to have direct control of should be reserved.
This is the case in HwbpManual.

The test still works with older OpenOCD versions, since no exception is generated when a command (riscv reserve_trigger in this case) is not found.

After riscv-collab/riscv-openocd#1111 is merged,
the registers a user wishes to have direct control of should be
reserved.
This is the case in `HwbpManual`.

The test still works with older OpenOCD versions, since no exception
is generated when a command (`riscv reserve_trigger` in this case)
is not found.
Copy link
Collaborator

@aap-sc aap-sc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. LGTM, though we should still wait till the MR is merged.
  2. I think we'd better to modify testsuite to throw errors if command results in failure.

@en-sc en-sc merged commit cc3b0f0 into riscv-software-src:master Sep 5, 2024
2 checks passed
@en-sc en-sc deleted the en-sc/reserve-trigger branch September 5, 2024 19:56
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