mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 06:21:19 +12:00
debugger: Add logging breakpoint + misc fixes (#927)
This commit is contained in:
parent
1d1e1e781b
commit
651e5336b4
8 changed files with 193 additions and 132 deletions
|
@ -280,9 +280,7 @@ void DebugLogStackTrace(OSThread_t* thread, MPTR sp);
|
|||
|
||||
void DebugPPCThreadsWindow::DumpStackTrace(OSThread_t* thread)
|
||||
{
|
||||
cemuLog_log(LogType::Force, fmt::format("Dumping stack trace for thread {0:08x} LR: {1:08x}",
|
||||
memory_getVirtualOffsetFromPointer(thread),
|
||||
_swapEndianU32(thread->context.lr)));
|
||||
cemuLog_log(LogType::Force, "Dumping stack trace for thread {0:08x} LR: {1:08x}", memory_getVirtualOffsetFromPointer(thread), _swapEndianU32(thread->context.lr));
|
||||
DebugLogStackTrace(thread, _swapEndianU32(thread->context.gpr[1]));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue