From a0c06f8d9c42010600d328011ab31342ead0ff67 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 11 Mar 2025 21:32:03 +1000 Subject: [PATCH] GDBServer: Implement 's' command (single step) --- src/core/gdb_server.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/core/gdb_server.cpp b/src/core/gdb_server.cpp index ba4742559..64b8fa775 100644 --- a/src/core/gdb_server.cpp +++ b/src/core/gdb_server.cpp @@ -52,6 +52,7 @@ static bool Cmd$g(ClientSocket* client, std::string_view data); static bool Cmd$G(ClientSocket* client, std::string_view data); static bool Cmd$m(ClientSocket* client, std::string_view data); static bool Cmd$M(ClientSocket* client, std::string_view data); +static bool Cmd$s(ClientSocket* client, std::string_view data); static bool Cmd$z1(ClientSocket* client, std::string_view data); static bool Cmd$Z1(ClientSocket* client, std::string_view data); static bool Cmd$vMustReplyEmpty(ClientSocket* client, std::string_view data); @@ -120,6 +121,7 @@ static constexpr std::pairSendReplyWithAck("OK"); + return true; +} + /// Remove hardware breakpoint. bool GDBServer::Cmd$z1(ClientSocket* client, std::string_view data) {