This is an automated email from Gerrit. "Evgeniy Naydanov <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9486
-- gerrit commit 8f623941f54765625ae21c24a86671f930cc2a66 Author: Evgeniy Naydanov <[email protected]> Date: Wed Feb 25 19:27:36 2026 +0300 riscv/riscv-011: drop the call to `riscv_set_current_hartid()` Since `select_current_hart` is `NULL` for riscv-011 targets, the call is a no-op. Change-Id: I4505c78ca7966a7ae882562eb2f5186df61eb000 Signed-off-by: Evgeniy Naydanov <[email protected]> diff --git a/src/target/riscv/riscv-011.c b/src/target/riscv/riscv-011.c index f4a7d0e5ca..585056bb07 100644 --- a/src/target/riscv/riscv-011.c +++ b/src/target/riscv/riscv-011.c @@ -1590,7 +1590,6 @@ static int examine(struct target *target) return result; target_set_examined(target); - riscv_set_current_hartid(target, 0); for (size_t i = 0; i < 32; ++i) reg_cache_set(target, i, -1); LOG_INFO("Examined RISCV core; XLEN=%d, misa=0x%" PRIx64, --
