mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
debugger: Add symbol support to PPC stack traces
Also moved the declaration to precompiled.h instead of redefining it wherever it is used
This commit is contained in:
parent
252429933f
commit
47f1dcf996
6 changed files with 16 additions and 13 deletions
|
@ -6,8 +6,6 @@
|
|||
#include "Cafe/HW/Espresso/Debugger/GDBStub.h"
|
||||
#include "ExceptionHandler.h"
|
||||
|
||||
void DebugLogStackTrace(OSThread_t* thread, MPTR sp);
|
||||
|
||||
bool crashLogCreated = false;
|
||||
|
||||
bool CrashLog_Create()
|
||||
|
@ -97,7 +95,7 @@ void ExceptionHandler_LogGeneralInfo()
|
|||
MPTR currentStackVAddr = hCPU->gpr[1];
|
||||
CrashLog_WriteLine("");
|
||||
CrashLog_WriteHeader("PPC stack trace");
|
||||
DebugLogStackTrace(currentThread, currentStackVAddr);
|
||||
DebugLogStackTrace(currentThread, currentStackVAddr, true);
|
||||
|
||||
// stack dump
|
||||
CrashLog_WriteLine("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue