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 debugger support does not fully expose hypervisor-related state. The virtual priv register exposed to GDB currently contains only the two-bit privilege mode ( dcsr.prv ). It…
The task
OpenOCD's RISC-V debugger support does not fully expose hypervisor-related state. The virtual `priv` register exposed to GDB currently contains only the two-bit privilege mode (`dcsr.prv`). It must also expose `dcsr.v` as bit 2 of the virtual `priv` value, and writes to `priv` must map that bit back to `dcsr.v`…
Part of henryen/OriGent-SFT-Data.