summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-07-09 16:24:49 -0400
committerGitHub <noreply@github.com>2023-07-09 16:24:49 -0400
commit8a87a41f2da01e65ecfcd1787237578c2f14ec06 (patch)
treed2fca8e5ea246bdbf916b70b37d551d30f518e92 /src
parent9ce5d39829b5e009f220dfa7bf6e4834d250c5c0 (diff)
parent82568412f6916068d1b4fb10988f51cbd019b0dd (diff)
Merge pull request #11063 from liamwhite/oops
arm_interface: correct breakpoint rewind condition
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/arm_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index beaea64b3..aa0eb9791 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -185,7 +185,7 @@ void ARM_Interface::Run() {
// Notify the debugger and go to sleep if a breakpoint was hit,
// 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)) {
+ if (!True(hr & HaltReason::PrefetchAbort)) {
RewindBreakpointInstruction();
}
if (system.DebuggerEnabled()) {