diff options
Diffstat (limited to 'src/target/mips_m4k.c')
-rw-r--r-- | src/target/mips_m4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 6ffa61e0..fb4c3762 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -503,7 +503,7 @@ static int mips_m4k_resume(struct target *target, int current, handle_breakpoints, debug_execution); - if (retval != ERROR_OK && target->smp) { + if (retval == ERROR_OK && target->smp) { target->gdb_service->core[0] = -1; retval = mips_m4k_restore_smp(target, address, handle_breakpoints); } |