Преглед изворни кода

arm: Print backtrace on data abort

GPUCode пре 2 година
родитељ
комит
1cde01c8c8
1 измењених фајлова са 2 додато и 0 уклоњено
  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;