diff options
| author | 2023-11-20 18:56:54 +0200 | |
|---|---|---|
| committer | 2023-11-25 00:47:36 -0500 | |
| commit | 1cde01c8c8f4c7272f7f2db3846ff7403caa49e1 (patch) | |
| tree | e077b2902007b6356cba93f5b5a4d966ee0cad31 | |
| parent | patch: check offsets from first code word (diff) | |
| download | yuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.tar.gz yuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.tar.xz yuzu-1cde01c8c8f4c7272f7f2db3846ff7403caa49e1.zip | |
arm: Print backtrace on data abort
| -rw-r--r-- | src/core/arm/arm_interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp index 558fba5bd..d231bf89c 100644 --- a/src/core/arm/arm_interface.cpp +++ b/src/core/arm/arm_interface.cpp | |||
| @@ -201,6 +201,8 @@ void ARM_Interface::Run() { | |||
| 201 | if (True(hr & HaltReason::DataAbort)) { | 201 | if (True(hr & HaltReason::DataAbort)) { |
| 202 | if (system.DebuggerEnabled()) { | 202 | if (system.DebuggerEnabled()) { |
| 203 | system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint()); | 203 | system.GetDebugger().NotifyThreadWatchpoint(current_thread, *HaltedWatchpoint()); |
| 204 | } else { | ||
| 205 | LogBacktrace(); | ||
| 204 | } | 206 | } |
| 205 | current_thread->RequestSuspend(SuspendType::Debug); | 207 | current_thread->RequestSuspend(SuspendType::Debug); |
| 206 | break; | 208 | break; |