Skip to content
Snippets Groups Projects
Commit 6726b787 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Øyvind Harboe
Browse files

fix single step of bx instruction going into Thumb mode

Without this fix, the following code cannot be single stepped:

	add	ip, pc, #1
	bx	ip
	[thumb code here]
parent 97166327
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment