mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
Merge pull request #11063 from liamwhite/oops
arm_interface: correct breakpoint rewind condition
This commit is contained in:
commit
8a87a41f2d
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ void ARM_Interface::Run() {
|
||||||
// Notify the debugger and go to sleep if a breakpoint was hit,
|
// Notify the debugger and go to sleep if a breakpoint was hit,
|
||||||
// or if the thread is unable to continue for any reason.
|
// or if the thread is unable to continue for any reason.
|
||||||
if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) {
|
if (True(hr & HaltReason::InstructionBreakpoint) || True(hr & HaltReason::PrefetchAbort)) {
|
||||||
if (!True(hr & HaltReason::InstructionBreakpoint)) {
|
if (!True(hr & HaltReason::PrefetchAbort)) {
|
||||||
RewindBreakpointInstruction();
|
RewindBreakpointInstruction();
|
||||||
}
|
}
|
||||||
if (system.DebuggerEnabled()) {
|
if (system.DebuggerEnabled()) {
|
||||||
|
|
Loading…
Reference in a new issue