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 GDB single-register read path conflates two outcomes from rtos get gdb reg(): a real failure and the RTOS path being inapplicable. The current implementation returns ERROR FAIL…
The task
OpenOCD's GDB single-register read path conflates two outcomes from rtos_get_gdb_reg(): a real failure and the RTOS path being inapplicable. The current implementation returns ERROR_FAIL whenever it does not obtain a register through the RTOS path. Consequently, gdb_get_register_packet() treats every non-OK result as…
Part of henryen/OriGent-SFT-Data.