Added support for GDB RSP detach packet
This commit is contained in:
@@ -174,6 +174,10 @@ void GdbRspDebugServer::handleGdbPacket(CommandPacket& packet) {
|
|||||||
// Status report
|
// Status report
|
||||||
this->clientConnection->writePacket(TargetStopped(Signal::TRAP));
|
this->clientConnection->writePacket(TargetStopped(Signal::TRAP));
|
||||||
|
|
||||||
|
} else if (packetString[0] == 'D') {
|
||||||
|
// Detach packet - there's not really anything we need to do here, so just respond with an OK
|
||||||
|
this->clientConnection->writePacket(ResponsePacket({'O', 'K'}));
|
||||||
|
|
||||||
} else if (packetString.find("qAttached") == 0) {
|
} else if (packetString.find("qAttached") == 0) {
|
||||||
Logger::debug("Handling qAttached");
|
Logger::debug("Handling qAttached");
|
||||||
this->clientConnection->writePacket(ResponsePacket({1}));
|
this->clientConnection->writePacket(ResponsePacket({1}));
|
||||||
|
|||||||
Reference in New Issue
Block a user