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/+/9487

-- gerrit

commit 16e5a130ed9baaa857cbb538a5baf1ac92b16d0e
Author: Evgeniy Naydanov <[email protected]>
Date:   Wed Feb 25 19:30:31 2026 +0300

    target/riscv/riscv-011: drop the call to `target_set_examined()`
    
    This is a valid change, since:
    * The flag is set in the type-independent code on success and reset on
      failure.
    * `examine` only calls `reg_cache_set()` and `riscv_xlen()` after setting
      the flag, which in turn do not call to `target_was_examined()`.
    
    Change-Id: Id85f10b392622591cbdfd92d4e08e79e9ad7bf15
    Signed-off-by: Evgeniy Naydanov <[email protected]>

diff --git a/src/target/riscv/riscv-011.c b/src/target/riscv/riscv-011.c
index 585056bb07..8ae56e50a9 100644
--- a/src/target/riscv/riscv-011.c
+++ b/src/target/riscv/riscv-011.c
@@ -1589,7 +1589,6 @@ static int examine(struct target *target)
        if (result != ERROR_OK)
                return result;
 
-       target_set_examined(target);
        for (size_t i = 0; i < 32; ++i)
                reg_cache_set(target, i, -1);
        LOG_INFO("Examined RISCV core; XLEN=%d, misa=0x%" PRIx64,

-- 

Reply via email to