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 34af60da11
commit c375d9b1a4

View File

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