diff options
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
| -rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index afa812598..db51d722f 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp | |||
| @@ -641,7 +641,8 @@ static void HandleQuery() { | |||
| 641 | strlen("Xfer:features:read:target.xml:")) == 0) { | 641 | strlen("Xfer:features:read:target.xml:")) == 0) { |
| 642 | SendReply(target_xml); | 642 | SendReply(target_xml); |
| 643 | } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { | 643 | } else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) { |
| 644 | const VAddr base_address = Core::CurrentProcess()->VMManager().GetCodeRegionBaseAddress(); | 644 | const VAddr base_address = |
| 645 | Core::System::GetInstance().CurrentProcess()->VMManager().GetCodeRegionBaseAddress(); | ||
| 645 | std::string buffer = fmt::format("TextSeg={:0x}", base_address); | 646 | std::string buffer = fmt::format("TextSeg={:0x}", base_address); |
| 646 | SendReply(buffer.c_str()); | 647 | SendReply(buffer.c_str()); |
| 647 | } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { | 648 | } else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) { |