diff options
Diffstat (limited to 'src/core/debugger/gdbstub_arch.cpp')
| -rw-r--r-- | src/core/debugger/gdbstub_arch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debugger/gdbstub_arch.cpp b/src/core/debugger/gdbstub_arch.cpp index 831c48513..75c94a91a 100644 --- a/src/core/debugger/gdbstub_arch.cpp +++ b/src/core/debugger/gdbstub_arch.cpp | |||
| @@ -259,7 +259,7 @@ void GDBStubA64::WriteRegisters(Kernel::KThread* thread, std::string_view regist | |||
| 259 | std::string GDBStubA64::ThreadStatus(const Kernel::KThread* thread, u8 signal) const { | 259 | std::string GDBStubA64::ThreadStatus(const Kernel::KThread* thread, u8 signal) const { |
| 260 | return fmt::format("T{:02x}{:02x}:{};{:02x}:{};{:02x}:{};thread:{:x};", signal, PC_REGISTER, | 260 | return fmt::format("T{:02x}{:02x}:{};{:02x}:{};{:02x}:{};thread:{:x};", signal, PC_REGISTER, |
| 261 | RegRead(thread, PC_REGISTER), SP_REGISTER, RegRead(thread, SP_REGISTER), | 261 | RegRead(thread, PC_REGISTER), SP_REGISTER, RegRead(thread, SP_REGISTER), |
| 262 | LR_REGISTER, RegRead(thread, LR_REGISTER), thread->GetThreadID()); | 262 | LR_REGISTER, RegRead(thread, LR_REGISTER), thread->GetThreadId()); |
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | u32 GDBStubA64::BreakpointInstruction() const { | 265 | u32 GDBStubA64::BreakpointInstruction() const { |
| @@ -469,7 +469,7 @@ void GDBStubA32::WriteRegisters(Kernel::KThread* thread, std::string_view regist | |||
| 469 | std::string GDBStubA32::ThreadStatus(const Kernel::KThread* thread, u8 signal) const { | 469 | std::string GDBStubA32::ThreadStatus(const Kernel::KThread* thread, u8 signal) const { |
| 470 | return fmt::format("T{:02x}{:02x}:{};{:02x}:{};{:02x}:{};thread:{:x};", signal, PC_REGISTER, | 470 | return fmt::format("T{:02x}{:02x}:{};{:02x}:{};{:02x}:{};thread:{:x};", signal, PC_REGISTER, |
| 471 | RegRead(thread, PC_REGISTER), SP_REGISTER, RegRead(thread, SP_REGISTER), | 471 | RegRead(thread, PC_REGISTER), SP_REGISTER, RegRead(thread, SP_REGISTER), |
| 472 | LR_REGISTER, RegRead(thread, LR_REGISTER), thread->GetThreadID()); | 472 | LR_REGISTER, RegRead(thread, LR_REGISTER), thread->GetThreadId()); |
| 473 | } | 473 | } |
| 474 | 474 | ||
| 475 | u32 GDBStubA32::BreakpointInstruction() const { | 475 | u32 GDBStubA32::BreakpointInstruction() const { |