summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-06 19:51:31 +0200
committerLioncash <mathew1800@gmail.com>2019-10-06 19:53:12 +0200
commitf1382cf0e7180cd31505ee89e774cc93bde6211e (patch)
treec732e422a882f0e40e42094533546b32e61d56c2 /src/core/gdbstub/gdbstub.cpp
parenthle/service: Replace global system instance calls with instance-based ones (diff)
downloadyuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.gz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.bz2
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.lz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.xz
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.tar.zst
yuzu-f1382cf0e7180cd31505ee89e774cc93bde6211e.zip
Diffstat (limited to '')
-rw-r--r--src/core/gdbstub/gdbstub.cpp3
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() {
strlen("Xfer:features:read:target.xml:")) == 0) {
SendReply(target_xml);
} else if (strncmp(query, "Offsets", strlen("Offsets")) == 0) {
- const VAddr base_address = Core::CurrentProcess()->VMManager().GetCodeRegionBaseAddress();
+ const VAddr base_address =
+ Core::System::GetInstance().CurrentProcess()->VMManager().GetCodeRegionBaseAddress();
std::string buffer = fmt::format("TextSeg={:0x}", base_address);
SendReply(buffer.c_str());
} else if (strncmp(query, "fThreadInfo", strlen("fThreadInfo")) == 0) {