This is an automated email from Gerrit. "Antonio Borneo <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9557
-- gerrit commit 2f42d02e3df25e45ee492665e687ca03fe69bba7 Author: Antonio Borneo <[email protected]> Date: Wed Apr 1 17:05:50 2026 +0200 cortex_a: fix breakpoint length for ThumbEE instruction set The breakpoint length should be 2 for both Thumb and ThumbEE. Change-Id: I03375f8b84c198d8a572841d9d28902b1ea8920b Signed-off-by: Antonio Borneo <[email protected]> diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index 0874edc8b0..a792bc9e65 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -1237,7 +1237,8 @@ static int cortex_a_step(struct target *target, bool current, target_addr_t addr /* Setup single step breakpoint */ stepbreakpoint.address = address; stepbreakpoint.asid = 0; - stepbreakpoint.length = (arm->core_state == ARM_STATE_THUMB) + stepbreakpoint.length = (arm->core_state == ARM_STATE_THUMB || + arm->core_state == ARM_STATE_THUMB_EE) ? 2 : 4; stepbreakpoint.type = BKPT_HARD; stepbreakpoint.is_set = false; --
