This is an automated email from Gerrit.

"Kirill Radkin <kirill.rad...@syntacore.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8013

-- gerrit

commit 16bbd39c649b88066ca88366a8c53e1e9e426791
Author: Kirill Radkin <kirill.rad...@syntacore.com>
Date:   Tue Oct 31 18:24:35 2023 +0300

    target: Add some info messages about examination process.
    
    These messages helps to clarify current status of examination process
    
    Change-Id: I5d93903c4680deed2c1bf707d8f7ef0b48ffdc9a
    Signed-off-by: Kirill Radkin <kirill.rad...@syntacore.com>

diff --git a/src/target/target.c b/src/target/target.c
index d368cb5156..c213813c27 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -711,10 +711,13 @@ static int default_check_reset(struct target *target)
  * Keep in sync */
 int target_examine_one(struct target *target)
 {
+       LOG_TARGET_INFO(target, "Examination started.");
+
        target_call_event_callbacks(target, TARGET_EVENT_EXAMINE_START);
 
        int retval = target->type->examine(target);
        if (retval != ERROR_OK) {
+               LOG_TARGET_ERROR(target, "Examination failed. examine() -> %d", 
retval);
                target_reset_examined(target);
                target_call_event_callbacks(target, TARGET_EVENT_EXAMINE_FAIL);
                return retval;

-- 

Reply via email to