GDB monitor: Check for ARM breakpoint IP

Performed in 'slow_trapentry'. Was 'fix_exception_ip.patch'.
This commit is contained in:
Sebastian Sumpf
2013-01-11 17:09:06 +01:00
parent 808d228872
commit 3e974d6ccd

View File

@@ -303,6 +303,10 @@ extern "C" {
if (handle_copro_fault[copro](opcode, ts)) if (handle_copro_fault[copro](opcode, ts))
return; return;
} }
/* check for ARM default GDB breakpoint */
if (!(ts->psr & Proc::Status_thumb) && opcode == 0xe7ffdefe)
ts->pc -= 4;
} }
undef_insn: undef_insn: