Implemented support for breakpoint caching in the GDB server
This commit is contained in:
@@ -7,11 +7,13 @@ namespace Bloom::DebugServer::Gdb
|
||||
DebugSession::DebugSession(
|
||||
Connection&& connection,
|
||||
const std::set<std::pair<Feature, std::optional<std::string>>>& supportedFeatures,
|
||||
const TargetDescriptor& targetDescriptor
|
||||
const TargetDescriptor& targetDescriptor,
|
||||
const GdbDebugServerConfig& serverConfig
|
||||
)
|
||||
: connection(std::move(connection))
|
||||
, supportedFeatures(supportedFeatures)
|
||||
, gdbTargetDescriptor(targetDescriptor)
|
||||
, serverConfig(serverConfig)
|
||||
{
|
||||
this->supportedFeatures.insert({
|
||||
Feature::PACKET_SIZE, std::to_string(Connection::ABSOLUTE_MAXIMUM_PACKET_READ_SIZE)
|
||||
|
||||
Reference in New Issue
Block a user