Tidying
This commit is contained in:
@@ -159,15 +159,17 @@ namespace DebugServer::Gdb
|
||||
}
|
||||
|
||||
const auto commandPacket = this->waitForCommandPacket();
|
||||
if (commandPacket) {
|
||||
commandPacket->handle(
|
||||
*(this->getActiveDebugSession()),
|
||||
this->getGdbTargetDescriptor(),
|
||||
this->targetDescriptor,
|
||||
this->targetControllerService
|
||||
);
|
||||
if (!commandPacket) {
|
||||
return;
|
||||
}
|
||||
|
||||
commandPacket->handle(
|
||||
*(this->getActiveDebugSession()),
|
||||
this->getGdbTargetDescriptor(),
|
||||
this->targetDescriptor,
|
||||
this->targetControllerService
|
||||
);
|
||||
|
||||
} catch (const ClientDisconnected&) {
|
||||
Logger::info("GDB RSP client disconnected");
|
||||
this->endDebugSession();
|
||||
|
||||
Reference in New Issue
Block a user