More bits of refactoring in the GDB RSP server implementation

This commit is contained in:
Nav
2022-11-18 20:26:20 +00:00
parent 35a6172b24
commit 89b02474a9
5 changed files with 96 additions and 92 deletions

View File

@@ -134,10 +134,8 @@ namespace Bloom::DebugServer::Gdb
/**
* Waits for a GDB client to connect on the listening socket.
*
* This function may return an std::nullopt, if the waiting was interrupted by some other event.
*/
std::optional<Connection> waitForConnection();
Connection waitForConnection();
/**
* Waits for a command packet from the connected GDB client.