Explorar el Código

arm: Print backtrace on data abort

GPUCode hace 2 años
padre
commit
1cde01c8c8
Se han modificado 1 ficheros con 2 adiciones y 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;