projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165e3a1
)
Propagate wDTR/rDTR failure immediately, otherwise it's followed up by timeout errors.
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Mon, 12 Oct 2009 12:10:49 +0000
(14:10 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Mon, 12 Oct 2009 12:10:49 +0000
(14:10 +0200)
src/target/arm11.c
patch
|
blob
|
history
diff --git
a/src/target/arm11.c
b/src/target/arm11.c
index 588ea3c27598a0f2ce8541ba087b0fbc4d6e3403..915bee6472ccfe9e4bc4508f2fcbb4764f37dd9e 100644
(file)
--- a/
src/target/arm11.c
+++ b/
src/target/arm11.c
@@
-610,6
+610,7
@@
int arm11_leave_debug_state(arm11_common_t * arm11)
if (DSCR & (ARM11_DSCR_RDTR_FULL | ARM11_DSCR_WDTR_FULL))
{
LOG_ERROR("wDTR/rDTR inconsistent (DSCR %08" PRIx32 ")", DSCR);
+ return ERROR_FAIL;
}
}