Files
BloomPatched/src/DebugServers/GdbRsp/DebugSession.hpp
2022-04-04 22:21:42 +01:00

28 lines
582 B
C++

#pragma once
#include <cstdint>
#include "TargetDescriptor.hpp"
#include "Connection.hpp"
namespace Bloom::DebugServers::Gdb
{
class DebugSession
{
public:
Connection connection;
const TargetDescriptor& targetDescriptor;
/**
* 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(const Connection& connection, const TargetDescriptor& targetDescriptor);
void terminate();
};
}