From: oharboe Date: Thu, 27 Aug 2009 07:37:07 +0000 (+0000) Subject: arm11 single stepping wip - at least we know the next PC now X-Git-Tag: v0.3.0-rc0~309 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c5145ceb199a004ef7d2c9a2ba74393756c61006;p=openocd 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 --- 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)