projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f03e92
)
fix instruction refilling bug when using software breakpoints on a big-endian arm926e...
author
Jun Ma
<jma@hfut.edu.cn>
Mon, 10 May 2010 14:54:25 +0000
(22:54 +0800)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 12 May 2010 11:37:33 +0000
(13:37 +0200)
Signed-off-by: Jun Ma <sync.jma@gmail.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/arm7_9_common.c
patch
|
blob
|
history
diff --git
a/src/target/arm7_9_common.c
b/src/target/arm7_9_common.c
index 9f1bb2e64722145d7c17a7b730e568df3835cc60..ac18b379f0093556f871d7039805a4a4ea537fd1 100644
(file)
--- a/
src/target/arm7_9_common.c
+++ b/
src/target/arm7_9_common.c
@@
-377,6
+377,7
@@
static int arm7_9_unset_breakpoint(struct target *target, struct breakpoint *bre
{
return retval;
}
+ current_instr = target_buffer_get_u32(target, (uint8_t *)¤t_instr);
if (current_instr == arm7_9->arm_bkpt)
if ((retval = target_write_memory(target, breakpoint->address, 4, 1, breakpoint->orig_instr)) != ERROR_OK)
{