From 12fbbc892dbffc610426ba9347d964ca05b05dc4 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 4 Jul 2021 00:28:31 +0100 Subject: [PATCH] Fixed bug in GDB debug server where interrupt packet wasn't being properly acknowledged --- src/DebugServers/GdbRsp/GdbRspDebugServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp b/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp index 3334fb33..29325c59 100644 --- a/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp +++ b/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp @@ -447,6 +447,7 @@ void GdbRspDebugServer::handleGdbPacket(CommandPackets::InterruptExecution& pack try { this->targetControllerConsole.stopTargetExecution(); this->clientConnection->writePacket(TargetStopped(Signal::INTERRUPTED)); + this->clientConnection->waitingForBreak = false; } catch (const Exception& exception) { Logger::error("Failed to interrupt execution - " + exception.getMessage());