Files
BloomPatched/src/DebugServer/Gdb/DebugSession.cpp

25 lines
647 B
C++
Raw Normal View History

2022-03-24 19:07:28 +00:00
#include "DebugSession.hpp"
#include "src/Logger/Logger.hpp"
namespace Bloom::DebugServer::Gdb
2022-03-24 19:07:28 +00:00
{
DebugSession::DebugSession(
Connection&& connection,
const std::set<std::pair<Feature, std::optional<std::string>>>& supportedFeatures,
const TargetDescriptor& targetDescriptor
)
: connection(std::move(connection))
, supportedFeatures(supportedFeatures)
, gdbTargetDescriptor(targetDescriptor)
{
this->supportedFeatures.insert({
Feature::PACKET_SIZE, std::to_string(this->connection.getMaxPacketSize())
});
}
2022-03-24 19:07:28 +00:00
void DebugSession::terminate() {
2022-03-24 19:07:28 +00:00
}
}