From 17b90e3c082f1a84be54caf0c0b80adf7fe09d8e Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 12 Oct 2024 23:16:33 +0100 Subject: [PATCH] Tidying --- .../Protocols/RiscVDebugSpec/DebugTranslator.cpp | 2 +- src/TargetController/TargetControllerComponent.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DebugToolDrivers/Protocols/RiscVDebugSpec/DebugTranslator.cpp b/src/DebugToolDrivers/Protocols/RiscVDebugSpec/DebugTranslator.cpp index 8b4f0870..f2863406 100644 --- a/src/DebugToolDrivers/Protocols/RiscVDebugSpec/DebugTranslator.cpp +++ b/src/DebugToolDrivers/Protocols/RiscVDebugSpec/DebugTranslator.cpp @@ -816,7 +816,7 @@ namespace DebugToolDrivers::Protocols::RiscVDebugSpec void DebugTranslator::clearTrigger(const TriggerModule::TriggerDescriptor& triggerDescriptor) { 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)) { using TriggerModule::Registers::MatchControl; diff --git a/src/TargetController/TargetControllerComponent.cpp b/src/TargetController/TargetControllerComponent.cpp index 04d6fe4e..53a20dbb 100644 --- a/src/TargetController/TargetControllerComponent.cpp +++ b/src/TargetController/TargetControllerComponent.cpp @@ -488,13 +488,13 @@ namespace TargetController if (debugToolIt == supportedDebugTools.end()) { 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()) { throw Exceptions::InvalidConfig{ - "Target name (\"" + targetName + "\") not recognised. Please check your configuration!" + "Target (\"" + targetName + "\") not recognised. Please check your configuration." }; }