diff options
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
| -rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index ae88440c2..5bc947010 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp | |||
| @@ -587,7 +587,7 @@ static void HandleQuery() { | |||
| 587 | strlen("Xfer:features:read:target.xml:")) == 0) { | 587 | strlen("Xfer:features:read:target.xml:")) == 0) { |
| 588 | SendReply(target_xml); | 588 | SendReply(target_xml); |
| 589 | } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { | 589 | } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { |
| 590 | const VAddr base_address = Core::CurrentProcess()->vm_manager.GetCodeRegionBaseAddress(); | 590 | const VAddr base_address = Core::CurrentProcess()->VMManager().GetCodeRegionBaseAddress(); |
| 591 | std::string buffer = fmt::format("TextSeg={:0x}", base_address); | 591 | std::string buffer = fmt::format("TextSeg={:0x}", base_address); |
| 592 | SendReply(buffer.c_str()); | 592 | SendReply(buffer.c_str()); |
| 593 | } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { | 593 | } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { |
| @@ -909,7 +909,7 @@ static void ReadMemory() { | |||
| 909 | SendReply("E01"); | 909 | SendReply("E01"); |
| 910 | } | 910 | } |
| 911 | 911 | ||
| 912 | const auto& vm_manager = Core::CurrentProcess()->vm_manager; | 912 | const auto& vm_manager = Core::CurrentProcess()->VMManager(); |
| 913 | if (addr < vm_manager.GetCodeRegionBaseAddress() || | 913 | if (addr < vm_manager.GetCodeRegionBaseAddress() || |
| 914 | addr >= vm_manager.GetMapRegionEndAddress()) { | 914 | addr >= vm_manager.GetMapRegionEndAddress()) { |
| 915 | return SendReply("E00"); | 915 | return SendReply("E00"); |