- 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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user