Removed breakpoint caching in GDB server - it's not needed!

GDB can be configured to avoid needlessly updating breakpoints on the target
This commit is contained in:
Nav
2023-04-01 19:06:57 +01:00
parent b4046e8ded
commit 2d934f7ea5
12 changed files with 1 additions and 107 deletions

View File

@@ -2,7 +2,6 @@
#include <cstdint>
#include <optional>
#include <unordered_set>
#include "TargetDescriptor.hpp"
#include "GdbDebugServerConfig.hpp"
@@ -38,13 +37,6 @@ namespace Bloom::DebugServer::Gdb
*/
const GdbDebugServerConfig& serverConfig;
/**
* Internal bookkeeping of breakpoints managed by GDB. These will both remain empty if the user has disabled
* breakpoint caching.
*/
std::unordered_set<Targets::TargetMemoryAddress> breakpointAddresses;
std::unordered_set<Targets::TargetMemoryAddress> breakpointAddressesPendingRemoval;
/**
* When the GDB client is waiting for the target to halt, this is set to true so we know when to notify the
* client.