Implemented support for breakpoint caching in the GDB server

This commit is contained in:
Nav
2023-04-01 14:30:33 +01:00
parent 06b6c4460b
commit 3a74906541
13 changed files with 129 additions and 6 deletions

View File

@@ -29,6 +29,13 @@ namespace Bloom::DebugServer::Gdb::AvrGdb
this->gdbTargetDescriptor = TargetDescriptor(
this->targetControllerService.getTargetDescriptor()
);
if (!this->debugServerConfig.breakpointCachingEnabled) {
Logger::warning(
"Breakpoint caching has been disabled - this could result in excessive wear of the AVR target's"
" flash memory"
);
}
}
std::unique_ptr<Gdb::CommandPackets::CommandPacket> AvrGdbRsp::resolveCommandPacket(