#pragma once #include #include "TargetDescriptor.hpp" #include "Connection.hpp" namespace Bloom::DebugServer::Gdb { class DebugSession { public: Connection connection; const TargetDescriptor& gdbTargetDescriptor; /** * When the GDB client is waiting for the target to halt, this is set to true so we know when to notify the * client. */ bool waitingForBreak = false; DebugSession(Connection&& connection, const TargetDescriptor& targetDescriptor); void terminate(); }; }