diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-06-25 21:02:44 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-06-25 21:02:44 +0000 |
commit | 1960973baf8022b4525e3ac94aed8dace7f9b478 (patch) | |
tree | 4afcaf8280f41d903007c1ceef5f244477bba3d2 /src/target | |
parent | d4d36b0a9a778caec77fb8e4ce5b1e406d5a8f50 (diff) | |
download | openocd+libswd-1960973baf8022b4525e3ac94aed8dace7f9b478.tar.gz openocd+libswd-1960973baf8022b4525e3ac94aed8dace7f9b478.tar.bz2 openocd+libswd-1960973baf8022b4525e3ac94aed8dace7f9b478.tar.xz openocd+libswd-1960973baf8022b4525e3ac94aed8dace7f9b478.zip |
- fixed bug in Thumb sw breakpoint handling (thanks to Spen for this patch)
- fixed handling of services linked list (thanks to Spen for this patch)
git-svn-id: svn://svn.berlios.de/openocd/trunk@76 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/arm7_9_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index e0ccd7a5..1e58ec9d 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -186,7 +186,7 @@ int arm7_9_set_breakpoint(struct target_s *target, breakpoint_t *breakpoint) else { target->type->read_memory(target, breakpoint->address, 2, 1, breakpoint->orig_instr); - target->type->read_memory(target, breakpoint->address, 2, 1, (u8*)(&arm7_9->arm_bkpt)); + target->type->write_memory(target, breakpoint->address, 2, 1, (u8*)(&arm7_9->arm_bkpt)); } breakpoint->set = 1; } |