diff --git a/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp b/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp index 1f997ba2..815b8f70 100644 --- a/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp +++ b/src/DebugServers/GdbRsp/GdbRspDebugServer.cpp @@ -128,7 +128,9 @@ namespace Bloom::DebugServers::Gdb connection->accept(this->serverSocketFileDescriptor); Logger::info("Accepted GDP RSP connection from " + connection->getIpAddress()); - this->activeDebugSession = DebugSession(connection.value(), this->getGdbTargetDescriptor()); + this->activeDebugSession.emplace( + DebugSession(connection.value(), this->getGdbTargetDescriptor()) + ); EventManager::triggerEvent(std::make_shared()); /*