GDB monitor: Check for ARM breakpoint IP
Performed in 'slow_trapentry'. Was 'fix_exception_ip.patch'.
This commit is contained in:
@@ -316,6 +316,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:
|
||||
|
||||
Reference in New Issue
Block a user