summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm_simulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 93fb3dd9..e2f49c39 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -358,7 +358,7 @@ int arm_simulate_step_core(target_t *target, uint32_t *dry_run_pc, struct arm_si
if (dry_run_pc)
{
- *dry_run_pc = target;
+ *dry_run_pc = target & ~1;
return ERROR_OK;
}
else