Implemented disabling of GDB packet acknowledgement, and disabled it by default. The new packetAcknowledgement debug server config param can be used to keep it enabled.
This commit is contained in:
@@ -155,11 +155,18 @@ namespace DebugServer::Gdb::AvrGdb
|
||||
}
|
||||
|
||||
std::set<std::pair<Feature, std::optional<std::string>>> AvrGdbRsp::getSupportedFeatures() {
|
||||
return {
|
||||
auto output = std::set<std::pair<Feature, std::optional<std::string>>>{
|
||||
{Feature::HARDWARE_BREAKPOINTS, std::nullopt},
|
||||
{Feature::SOFTWARE_BREAKPOINTS, std::nullopt},
|
||||
{Feature::MEMORY_MAP_READ, std::nullopt},
|
||||
{Feature::VCONT_ACTIONS_QUERY, std::nullopt},
|
||||
};
|
||||
|
||||
if (!this->debugServerConfig.packetAcknowledgement) {
|
||||
output.emplace(Feature::NO_ACK_MODE, std::nullopt);
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
void AvrGdbRsp::handleTargetStoppedGdbResponse(Targets::TargetMemoryAddress programAddress) {
|
||||
|
||||
Reference in New Issue
Block a user