summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/gdbstub/gdbstub.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp
index 6d15aeed9..2f15635c5 100644
--- a/src/core/gdbstub/gdbstub.cpp
+++ b/src/core/gdbstub/gdbstub.cpp
@@ -37,9 +37,9 @@
37#include "core/core.h" 37#include "core/core.h"
38#include "core/core_manager.h" 38#include "core/core_manager.h"
39#include "core/gdbstub/gdbstub.h" 39#include "core/gdbstub/gdbstub.h"
40#include "core/hle/kernel/memory/page_table.h"
40#include "core/hle/kernel/process.h" 41#include "core/hle/kernel/process.h"
41#include "core/hle/kernel/scheduler.h" 42#include "core/hle/kernel/scheduler.h"
42#include "core/hle/kernel/vm_manager.h"
43#include "core/loader/loader.h" 43#include "core/loader/loader.h"
44#include "core/memory.h" 44#include "core/memory.h"
45 45
@@ -643,7 +643,7 @@ static void HandleQuery() {
643 SendReply(target_xml); 643 SendReply(target_xml);
644 } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { 644 } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) {
645 const VAddr base_address = 645 const VAddr base_address =
646 Core::System::GetInstance().CurrentProcess()->VMManager().GetCodeRegionBaseAddress(); 646 Core::System::GetInstance().CurrentProcess()->PageTable().GetCodeRegionStart();
647 std::string buffer = fmt::format("TextSeg={:0x}", base_address); 647 std::string buffer = fmt::format("TextSeg={:0x}", base_address);
648 SendReply(buffer.c_str()); 648 SendReply(buffer.c_str());
649 } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { 649 } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) {