arm11 single stepping wip - at least we know the next PC now
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 27 Aug 2009 07:37:07 +0000 (07:37 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 27 Aug 2009 07:37:07 +0000 (07:37 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2642 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/arm11.c

index 6b79982c29e9cc4d87b04c8c9f8f44b791699e69..0af46d5c1711e60ab79577b3bd3698aba7fe9a36 100644 (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 ? "!" : "");
 
+
+       /* 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;
        retval = arm11_simulate_step(target, &next_pc);
        if (retval != ERROR_OK)