This is an automated email from Gerrit.

Kevin Yang ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/5855

-- gerrit

commit 6c2ad8519381bf6f55cb3c61b2ccd1081c1e940a
Author: Kevin Yang <[email protected]>
Date:   Mon Oct 12 15:33:47 2020 -0700

    target: Examine subsequent targets after failure
    
    When a target examination fails, continue to examine subsequent targets.
    
    Change-Id: I883a0c445edc7eb00f496b79271d773771ec6b66
    Signed-off-by: Kevin Yang <[email protected]>

diff --git a/src/target/target.c b/src/target/target.c
index fa609ef..fb5a519 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -770,9 +770,9 @@ int target_examine(void)
 
                retval = target_examine_one(target);
                if (retval != ERROR_OK)
-                       return retval;
+                       LOG_DEBUG("target %s examination failed", 
target_name(target));
        }
-       return retval;
+       return ERROR_OK;
 }
 
 const char *target_type_name(struct target *target)

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to