arm11 single stepping wip - at least we know the next PC now

git-svn-id: svn://svn.berlios.de/openocd/trunk@2642 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2009-08-27 07:37:07 +00:00
parent bb000a6f77
commit c5145ceb19
1 changed files with 4 additions and 0 deletions

View File

@ -994,6 +994,10 @@ int arm11_step(struct target_s *target, int current, uint32_t address, int handl
LOG_DEBUG("STEP PC %08" PRIx32 "%s", R(PC), !current ? "!" : ""); LOG_DEBUG("STEP PC %08" PRIx32 "%s", R(PC), !current ? "!" : "");
/* TODO: to implement single stepping on arm11 devices that can't
* do single stepping in hardware we need to calculate the next
* pc and set up breakpoints accordingingly. */
uint32_t next_pc; uint32_t next_pc;
retval = arm11_simulate_step(target, &next_pc); retval = arm11_simulate_step(target, &next_pc);
if (retval != ERROR_OK) if (retval != ERROR_OK)