From c5145ceb199a004ef7d2c9a2ba74393756c61006 Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Thu, 27 Aug 2009 07:37:07 +0000
Subject: [PATCH] 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
---
 src/target/arm11.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/target/arm11.c b/src/target/arm11.c
index 6b79982c2..0af46d5c1 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)
-- 
GitLab