aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-11-20 18:56:54 +0200
committert895 <clombardo169@gmail.com>2023-11-25 00:47:36 -0500
commit1cde01c8c8f4c7272f7f2db3846ff7403caa49e1 (patch)
treee077b2902007b6356cba93f5b5a4d966ee0cad31
parentf542a3bb7aaca4a7560e9fcaa2e9b4305f9856c0 (diff)
arm: Print backtrace on data abort
-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 558fba5bd2..d231bf89cc 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -201,6 +201,8 @@ void ARM_Interface::Run() {
if (True(hr & HaltReason::DataAbort)) {
if (system.DebuggerEnabled()) {
system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint());
+ } else {
+ LogBacktrace();
}
current_thread->RequestSuspend(SuspendType::Debug);
break;