diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-23 12:52:30 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-23 12:52:30 +0000 |
commit | c3e213a6e102ed7445fee1aba40bcf1c4531795a (patch) | |
tree | 1aa5ce22e0199cc025273891858705c13c2cdcc9 | |
parent | 9f558dfac3314943e9c12b7905039dc6c17e3c11 (diff) | |
download | openocd_libswd-c3e213a6e102ed7445fee1aba40bcf1c4531795a.tar.gz openocd_libswd-c3e213a6e102ed7445fee1aba40bcf1c4531795a.tar.bz2 openocd_libswd-c3e213a6e102ed7445fee1aba40bcf1c4531795a.tar.xz openocd_libswd-c3e213a6e102ed7445fee1aba40bcf1c4531795a.zip |
only log BUG: (do not return error) in the case of unknown debug reason(0xc)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1096 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/arm926ejs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index a6dbcfe7..b6ad09b7 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -350,11 +350,11 @@ int arm926ejs_examine_debug_reason(target_t *target) break; case 11: LOG_ERROR("BUG: debug re-entry from system speed access shouldn't be handled here"); + target->debug_reason = DBG_REASON_DBGRQ; break; default: LOG_ERROR("BUG: unknown debug reason: 0x%x", debug_reason); target->debug_reason = DBG_REASON_DBGRQ; - retval = ERROR_TARGET_FAILURE; break; } |