Repair a verified behavior in riscv-collab/riscv-openocd.
Repair a verified behavior in riscv-collab/riscv-openocd.: a task in OriGent-SFT-Data (Harbor dataset). OpenOCD's RISC-V backend unconditionally sets the debug CSR's ebreakm, ebreaks, and ebreaku bits when it resumes or steps a RISC-V target; its older debug-module implementation also sets all…
The task
OpenOCD's RISC-V backend unconditionally sets the debug CSR's ebreakm, ebreaks, and ebreaku bits when it resumes or steps a RISC-V target; its older debug-module implementation also sets all three bits during reset. Consequently, an EBREAK executed in M, S, or U mode always traps to OpenOCD. There is no way to tell…
Part of henryen/OriGent-SFT-Data.