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

target/riscv: fix halt reason for targets that do not support hit bit on triggers #1056

Merged
merged 1 commit into from
Jun 4, 2024

Commits on May 28, 2024

  1. target/riscv: fix halt reason for targets that do not support hit bit…

    … on triggers
    
    Before this patch the following behavior is observed on targets that do
    not support hit bit:
    
    ```
    bp 0x80000004 4 hw
    resume 0x80000000
    riscv.cpu halted due to watchpoint
    ```
    
    This happens because the current implementation relies on the presence
    of hit bit way too much. While working on this patch few defects in
    hit bit-based trigger detection were discovered, added appropriate
    TODOs.
    aap-sc committed May 28, 2024
    Configuration menu
    Copy the full SHA
    2c00a08 View commit details
    Browse the repository at this point in the history