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