Tidying
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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."
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user