This commit is contained in:
Nav
2024-10-12 23:16:33 +01:00
parent 52171734d8
commit 17b90e3c08
2 changed files with 3 additions and 3 deletions

View File

@@ -816,7 +816,7 @@ namespace DebugToolDrivers::Protocols::RiscVDebugSpec
void DebugTranslator::clearTrigger(const TriggerModule::TriggerDescriptor& triggerDescriptor) { void DebugTranslator::clearTrigger(const TriggerModule::TriggerDescriptor& triggerDescriptor) {
using TriggerModule::TriggerType; using TriggerModule::TriggerType;
Logger::debug("Clearing RISC-V trigger " + std::to_string(triggerDescriptor.index)); Logger::debug("Clearing RISC-V trigger (index: " + std::to_string(triggerDescriptor.index) + ")");
if (triggerDescriptor.supportedTypes.contains(TriggerType::MATCH_CONTROL)) { if (triggerDescriptor.supportedTypes.contains(TriggerType::MATCH_CONTROL)) {
using TriggerModule::Registers::MatchControl; using TriggerModule::Registers::MatchControl;

View File

@@ -488,13 +488,13 @@ namespace TargetController
if (debugToolIt == supportedDebugTools.end()) { if (debugToolIt == supportedDebugTools.end()) {
throw Exceptions::InvalidConfig{ throw Exceptions::InvalidConfig{
"Debug tool name (\"" + debugToolName + "\") not recognised. Please check your configuration!" "Debug tool (\"" + debugToolName + "\") not recognised. Please check your configuration."
}; };
} }
if (!briefTargetDescriptor.has_value()) { if (!briefTargetDescriptor.has_value()) {
throw Exceptions::InvalidConfig{ throw Exceptions::InvalidConfig{
"Target name (\"" + targetName + "\") not recognised. Please check your configuration!" "Target (\"" + targetName + "\") not recognised. Please check your configuration."
}; };
} }