summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar GPUCode2023-11-20 18:56:54 +0200
committerGravatar t8952023-11-25 00:47:36 -0500
commit1cde01c8c8f4c7272f7f2db3846ff7403caa49e1 (patch)
treee077b2902007b6356cba93f5b5a4d966ee0cad31 /src
parentpatch: check offsets from first code word (diff)
downloadyuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.tar.gz
yuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.tar.xz
yuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.zip
arm: Print backtrace on data abort
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/arm_interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index 558fba5bd..d231bf89c 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -201,6 +201,8 @@ void ARM_Interface::Run() {
201 if (True(hr & HaltReason::DataAbort)) { 201 if (True(hr & HaltReason::DataAbort)) {
202 if (system.DebuggerEnabled()) { 202 if (system.DebuggerEnabled()) {
203 system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint()); 203 system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint());
204 } else {
205 LogBacktrace();
204 } 206 }
205 current_thread->RequestSuspend(SuspendType::Debug); 207 current_thread->RequestSuspend(SuspendType::Debug);
206 break; 208 break;