2022-03-24 19:07:28 +00:00
|
|
|
#include "DebugSession.hpp"
|
|
|
|
|
|
|
|
|
|
#include "src/Logger/Logger.hpp"
|
|
|
|
|
|
|
|
|
|
namespace Bloom::DebugServers::Gdb
|
|
|
|
|
{
|
2022-03-28 01:04:14 +01:00
|
|
|
DebugSession::DebugSession(Connection&& connection, const TargetDescriptor& targetDescriptor)
|
|
|
|
|
: connection(std::move(connection))
|
2022-03-24 19:07:28 +00:00
|
|
|
, targetDescriptor(targetDescriptor)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
void DebugSession::terminate() {
|
|
|
|
|
this->connection.close();
|
|
|
|
|
}
|
|
|
|
|
}
|