Browse Source

arm: Print backtrace on data abort

GPUCode 2 năm trước cách đây
mục cha
commit
1cde01c8c8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;