Fixed bug in GDB debug server where interrupt packet wasn't being properly acknowledged
This commit is contained in:
@@ -447,6 +447,7 @@ void GdbRspDebugServer::handleGdbPacket(CommandPackets::InterruptExecution& pack
|
|||||||
try {
|
try {
|
||||||
this->targetControllerConsole.stopTargetExecution();
|
this->targetControllerConsole.stopTargetExecution();
|
||||||
this->clientConnection->writePacket(TargetStopped(Signal::INTERRUPTED));
|
this->clientConnection->writePacket(TargetStopped(Signal::INTERRUPTED));
|
||||||
|
this->clientConnection->waitingForBreak = false;
|
||||||
|
|
||||||
} catch (const Exception& exception) {
|
} catch (const Exception& exception) {
|
||||||
Logger::error("Failed to interrupt execution - " + exception.getMessage());
|
Logger::error("Failed to interrupt execution - " + exception.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user