Browse Source

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
tags/v0.1.0
oharboe 15 years ago
parent
commit
c3e213a6e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/target/arm926ejs.c

+ 1
- 1
src/target/arm926ejs.c View File

@@ -350,11 +350,11 @@ int arm926ejs_examine_debug_reason(target_t *target)
break; break;
case 11: case 11:
LOG_ERROR("BUG: debug re-entry from system speed access shouldn't be handled here"); LOG_ERROR("BUG: debug re-entry from system speed access shouldn't be handled here");
target->debug_reason = DBG_REASON_DBGRQ;
break; break;
default: default:
LOG_ERROR("BUG: unknown debug reason: 0x%x", debug_reason); LOG_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; break;
} }




Loading…
Cancel
Save