#include "DebugSession.hpp" #include "src/Logger/Logger.hpp" #include "src/EventManager/EventManager.hpp" namespace Bloom::DebugServer::Gdb { DebugSession::DebugSession( Connection&& connection, const std::set>>& supportedFeatures, const TargetDescriptor& targetDescriptor ) : connection(std::move(connection)) , supportedFeatures(supportedFeatures) , gdbTargetDescriptor(targetDescriptor) { this->supportedFeatures.insert({ Feature::PACKET_SIZE, std::to_string(this->connection.getMaxPacketSize()) }); EventManager::triggerEvent(std::make_shared()); } DebugSession::~DebugSession() { EventManager::triggerEvent(std::make_shared()); } }