From 26f648e1324ff5ce07ad45ecb84b4bc4c54224cb Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 8 Apr 2022 22:17:22 +0100 Subject: [PATCH] Handling vMustReplyEmpty GDB command packet --- src/DebugServer/Gdb/CommandPackets/CommandPacket.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/DebugServer/Gdb/CommandPackets/CommandPacket.cpp b/src/DebugServer/Gdb/CommandPackets/CommandPacket.cpp index 45edcad8..c1b6f501 100644 --- a/src/DebugServer/Gdb/CommandPackets/CommandPacket.cpp +++ b/src/DebugServer/Gdb/CommandPackets/CommandPacket.cpp @@ -42,6 +42,12 @@ namespace Bloom::DebugServer::Gdb::CommandPackets return; } + if (packetString.find("vMustReplyEmpty") == 0) { + Logger::debug("Handling vMustReplyEmpty"); + debugSession.connection.writePacket(EmptyResponsePacket()); + return; + } + if (packetString.find("qAttached") == 0) { Logger::debug("Handling qAttached"); debugSession.connection.writePacket(ResponsePacket(std::vector({1})));