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 triggers propperly in HwbpManual #581

Merged

Commits on Sep 6, 2024

  1. [debug] Reserve triggers propperly in HwbpManual

    riscv-collab/riscv-openocd#1111 introduces a
    change in OpenOCD behavior: a manual trigger should be manually removed
    to step/resume from it.
    This was not concidered in previous stop-gap solutions
    (76ff703 and
    8cc4918)
    
    This commit:
    1. Determines if `reserve trigger` is supported by the target.
       This can be removed once
       riscv-collab/riscv-openocd#1111 is merged.
    2. Marks `HwbpManual` test as not applicable in case `reserve trigger`
       is not supported.
    3. Accounts for the change in OpenOCD's behavior when stepping from a
       manual BP.
    4. Cleans up some minor mistakes in `HwbpManual`
    en-sc committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    1839696 View commit details
    Browse the repository at this point in the history