فهرست منبع

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 (True(hr & HaltReason::DataAbort)) {
             if (system.DebuggerEnabled()) {
             if (system.DebuggerEnabled()) {
                 system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint());
                 system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint());
+            } else {
+                LogBacktrace();
             }
             }
             current_thread->RequestSuspend(SuspendType::Debug);
             current_thread->RequestSuspend(SuspendType::Debug);
             break;
             break;