mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 14:07:57 -05:00
Moved backtrace to ArmInterface
This commit is contained in:
@ -625,8 +625,9 @@ static void Break(u32 reason, u64 info1, u64 info2) {
|
||||
"Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
|
||||
reason, info1, info2);
|
||||
handle_debug_buffer(info1, info2);
|
||||
GetCurrentThread()->LogBacktrace();
|
||||
|
||||
Core::System::GetInstance()
|
||||
.ArmInterface(static_cast<std::size_t>(GetCurrentThread()->GetProcessorID()))
|
||||
.LogBacktrace();
|
||||
ASSERT(false);
|
||||
|
||||
Core::CurrentProcess()->PrepareForTermination();
|
||||
|
@ -388,10 +388,6 @@ bool Thread::InvokeWakeupCallback(ThreadWakeupReason reason, SharedPtr<Thread> t
|
||||
return wakeup_callback(reason, std::move(thread), std::move(object), index);
|
||||
}
|
||||
|
||||
void Thread::LogBacktrace() {
|
||||
Core::System::GetInstance().ArmInterface(processor_id).LogBacktrace();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
|
@ -240,11 +240,6 @@ public:
|
||||
return status == ThreadStatus::WaitSynchAll;
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs the backtrace for the current thread
|
||||
*/
|
||||
void LogBacktrace();
|
||||
|
||||
ThreadContext& GetContext() {
|
||||
return context;
|
||||
}
|
||||
|
Reference in New Issue
Block a user