Edgar Grimberg, fix arm926ejs_examine_debug_reason return value.
git-svn-id: svn://svn.berlios.de/openocd/trunk@470 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
8bc200e1fe
commit
081bc06112
|
@ -337,9 +337,11 @@ int arm926ejs_examine_debug_reason(target_t *target)
|
||||||
default:
|
default:
|
||||||
ERROR("BUG: unknown debug reason: 0x%x", debug_reason);
|
ERROR("BUG: unknown debug reason: 0x%x", debug_reason);
|
||||||
target->debug_reason = DBG_REASON_DBGRQ;
|
target->debug_reason = DBG_REASON_DBGRQ;
|
||||||
|
retval = ERROR_TARGET_FAILURE;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ERROR_OK;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 arm926ejs_get_ttb(target_t *target)
|
u32 arm926ejs_get_ttb(target_t *target)
|
||||||
|
|
Loading…
Reference in New Issue