Perhaps this is relevant here? https://github.com/riscv-collab/riscv-openocd/issues/1113
- RISC-V software breakpoint bug in sysbus access Zhen Liang
- RISC-V software breakpoint bug in sysbus access Zhen Liang
- Re: RISC-V software breakpoint bug in sysbus access Tommy Murphy
