New debug session class
This commit is contained in:
17
src/DebugServers/GdbRsp/DebugSession.cpp
Normal file
17
src/DebugServers/GdbRsp/DebugSession.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "DebugSession.hpp"
|
||||
|
||||
#include "src/Logger/Logger.hpp"
|
||||
|
||||
namespace Bloom::DebugServers::Gdb
|
||||
{
|
||||
using Bloom::Targets::TargetDescriptor;
|
||||
|
||||
DebugSession::DebugSession(const Connection& connection, const TargetDescriptor& targetDescriptor)
|
||||
: connection(connection)
|
||||
, targetDescriptor(targetDescriptor)
|
||||
{}
|
||||
|
||||
void DebugSession::terminate() {
|
||||
this->connection.close();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user