summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-25 21:31:20 +0200
committerGitHub <noreply@github.com>2022-06-25 21:31:20 +0200
commitb321c3937137120f27a54ae01decf94f7fa781d1 (patch)
treebc9de62020e35f68361dc45de3a9452ea312f78b
parentMerge pull request #8491 from Morph1984/extra-assert (diff)
parentgdbstub: fix register pokes (diff)
downloadyuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar.gz
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar.bz2
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar.lz
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar.xz
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.tar.zst
yuzu-b321c3937137120f27a54ae01decf94f7fa781d1.zip
Diffstat (limited to '')
-rw-r--r--src/core/debugger/gdbstub.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/debugger/gdbstub.cpp b/src/core/debugger/gdbstub.cpp
index f5e9a303d..884229c77 100644
--- a/src/core/debugger/gdbstub.cpp
+++ b/src/core/debugger/gdbstub.cpp
@@ -252,6 +252,7 @@ void GDBStub::ExecuteCommand(std::string_view packet, std::vector<DebuggerAction
const auto sep{std::find(command.begin(), command.end(), '=') - command.begin() + 1};
const size_t reg{static_cast<size_t>(strtoll(command.data(), nullptr, 16))};
arch->RegWrite(backend.GetActiveThread(), reg, std::string_view(command).substr(sep));
+ SendReply(GDB_STUB_REPLY_OK);
break;
}
case 'm': {