diff options
| author | 2022-06-25 12:07:20 -0400 | |
|---|---|---|
| committer | 2022-06-25 12:07:20 -0400 | |
| commit | 19f475fd70f1a522afdbc2f85bb6b23141ac18c0 (patch) | |
| tree | bc9de62020e35f68361dc45de3a9452ea312f78b | |
| parent | Merge pull request #8491 from Morph1984/extra-assert (diff) | |
| download | yuzu-19f475fd70f1a522afdbc2f85bb6b23141ac18c0.tar.gz yuzu-19f475fd70f1a522afdbc2f85bb6b23141ac18c0.tar.xz yuzu-19f475fd70f1a522afdbc2f85bb6b23141ac18c0.zip | |
gdbstub: fix register pokes
| -rw-r--r-- | src/core/debugger/gdbstub.cpp | 1 |
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 | |||
| 252 | const auto sep{std::find(command.begin(), command.end(), '=') - command.begin() + 1}; | 252 | const auto sep{std::find(command.begin(), command.end(), '=') - command.begin() + 1}; |
| 253 | const size_t reg{static_cast<size_t>(strtoll(command.data(), nullptr, 16))}; | 253 | const size_t reg{static_cast<size_t>(strtoll(command.data(), nullptr, 16))}; |
| 254 | arch->RegWrite(backend.GetActiveThread(), reg, std::string_view(command).substr(sep)); | 254 | arch->RegWrite(backend.GetActiveThread(), reg, std::string_view(command).substr(sep)); |
| 255 | SendReply(GDB_STUB_REPLY_OK); | ||
| 255 | break; | 256 | break; |
| 256 | } | 257 | } |
| 257 | case 'm': { | 258 | case 'm': { |