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

-- gerrit

commit c7362986784493d25e3e8a25d5ef9a12a11b4e6c
Author: Evgeniy Naydanov <[email protected]>
Date:   Wed Feb 25 20:07:08 2026 +0300

    target/riscv/riscv-013: 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 `set_haltgroup()` after setting the flag, which
      in turn does not call `target_was_examined()`.
    
    Change-Id: I089dd8834b35c1fece3d986a8ee5b6401891eb4b
    Signed-off-by: Evgeniy Naydanov <[email protected]>

diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index b2b2a2bef4..224cdeb4b3 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -1754,8 +1754,6 @@ static int examine(struct target *target)
        if (!halted)
                riscv013_step_or_resume_current_hart(target, false, false);
 
-       target_set_examined(target);
-
        if (target->smp) {
                bool haltgroup_supported;
                if (set_haltgroup(target, &haltgroup_supported) != ERROR_OK)

-- 

Reply via email to