mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
arm: Print backtrace on data abort
This commit is contained in:
parent
f542a3bb7a
commit
1cde01c8c8
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue