Explorar o código

arm: Print backtrace on data abort

GPUCode %!s(int64=2) %!d(string=hai) anos
pai
achega
1cde01c8c8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/arm/arm_interface.cpp

+ 2 - 0
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;