summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-27 07:37:07 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-27 07:37:07 +0000
commitc5145ceb199a004ef7d2c9a2ba74393756c61006 (patch)
treed16854d1444dc8104d23c54ba05d9111eeee58de
parentbb000a6f77db52ba6331bbe42f88b130c32792a1 (diff)
downloadopenocd_libswd-c5145ceb199a004ef7d2c9a2ba74393756c61006.tar.gz
openocd_libswd-c5145ceb199a004ef7d2c9a2ba74393756c61006.tar.bz2
openocd_libswd-c5145ceb199a004ef7d2c9a2ba74393756c61006.tar.xz
openocd_libswd-c5145ceb199a004ef7d2c9a2ba74393756c61006.zip
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
-rw-r--r--src/target/arm11.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c
index 6b79982c..0af46d5c 100644
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -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)