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: fix HwbpManual test #557

Merged
merged 1 commit into from
May 31, 2024
Merged

Commits on May 23, 2024

  1. debug: fix HwbpManual test

    HwbpManual test was broken:
    * Value read back from `tselect` was compared with `tdata1` value.
    https://github.com/riscv-software-src/riscv-tests/blob/408e461da11e0b298c4b69e587729532787212f5/debug/gdbserver.py#L701-L703
    This resulted in the test being reported as not supported, after all the
    triggers were checked.
    * `tdata1.type` field was not set to `mcontrol`.
    * `tselect` value used to be changed by `handle_reset` and not restored.
    https://github.com/riscv-software-src/riscv-tests/blob/408e461da11e0b298c4b69e587729532787212f5/debug/programs/entry.S#L79-L84
    * Manual breakpoint used to be left behind.
    
    Signed-off-by: Evgeniy Naydanov <[email protected]>
    en-sc committed May 23, 2024
    Configuration menu
    Copy the full SHA
    4193bb2 View commit details
    Browse the repository at this point in the history