diff options
Diffstat (limited to 'src/target/target.c')
-rw-r--r-- | src/target/target.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/target/target.c b/src/target/target.c index e7d043f..d3e7c6c 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -486,8 +486,10 @@ int target_poll(struct target *target) } retval = target->type->poll(target); - if (retval != ERROR_OK) + if (retval != ERROR_OK) { + LOG_TARGET_INFO(target, "target->type->poll failed"); return retval; + } if (target->halt_issued) { if (target->state == TARGET_HALTED) @@ -687,7 +689,7 @@ int target_examine_one(struct target *target) } if (target->defer_examine) { - LOG_USER("[%s] Target unavailable for full examination.", target_name(target)); + LOG_USER("[%s] Target currently unavailable for full examination.", target_name(target)); target->defer_examine = defer_state; target_reset_examined(target); } else { @@ -696,7 +698,7 @@ int target_examine_one(struct target *target) } target_call_event_callbacks(target, TARGET_EVENT_EXAMINE_END); - LOG_TARGET_INFO(target, "Examination succeed"); + LOG_TARGET_DEBUG(target, "Examination succeed"); return ERROR_OK; } |