diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/target/mips_m4k.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 7d1c06cf..2f179c7a 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -239,7 +239,10 @@ static int mips_m4k_poll(struct target *target) if (retval != ERROR_OK) return retval; } - target_call_event_callbacks(target, TARGET_EVENT_HALTED); + if (target->debug_reason == DBG_REASON_NOTHALTED) + LOG_DEBUG("Sorry, Not Sorry"); + else + target_call_event_callbacks(target, TARGET_EVENT_HALTED); } else if (target->state == TARGET_DEBUG_RUNNING) { target->state = TARGET_HALTED; |