Skip to content
Snippets Groups Projects
Commit 82568412 authored by Liam's avatar Liam
Browse files

arm_interface: correct breakpoint rewind condition

parent f80edad1
No related branches found
No related tags found
No related merge requests found
...@@ -185,7 +185,7 @@ void ARM_Interface::Run() { ...@@ -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()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment