Tidying
This commit is contained in:
@@ -208,7 +208,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
|
||||
this->targetState = TargetState::RUNNING;
|
||||
}
|
||||
|
||||
void EdbgAvr8Interface::runTo(TargetProgramCounter address) {
|
||||
void EdbgAvr8Interface::runTo(TargetMemoryAddress address) {
|
||||
this->clearEvents();
|
||||
const auto responseFrame = this->edbgInterface->sendAvrCommandFrameAndWaitForResponseFrame(
|
||||
RunTo(address)
|
||||
|
||||
@@ -127,7 +127,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
|
||||
* @param address
|
||||
* The (byte) address to run to.
|
||||
*/
|
||||
void runTo(Targets::TargetProgramCounter address) override;
|
||||
void runTo(Targets::TargetMemoryAddress address) override;
|
||||
|
||||
/**
|
||||
* Issues the "step" command to the debug tool, stepping the execution on the target. The stepping can be
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace Bloom::DebugToolDrivers::TargetInterfaces::Microchip::Avr::Avr8
|
||||
/**
|
||||
* Continue execution up to a specific byte address.
|
||||
*/
|
||||
virtual void runTo(Targets::TargetProgramCounter address) = 0;
|
||||
virtual void runTo(Targets::TargetMemoryAddress address) = 0;
|
||||
|
||||
/**
|
||||
* Step execution on teh AVR8 target.
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace Bloom::Services
|
||||
);
|
||||
}
|
||||
|
||||
void TargetControllerService::stepTargetExecution(std::optional<TargetProgramCounter> fromAddress) const {
|
||||
void TargetControllerService::stepTargetExecution(std::optional<TargetMemoryAddress> fromAddress) const {
|
||||
auto stepExecutionCommand = std::make_unique<StepTargetExecution>();
|
||||
|
||||
if (fromAddress.has_value()) {
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace Bloom::Services
|
||||
*
|
||||
* @param fromAddress
|
||||
*/
|
||||
void stepTargetExecution(std::optional<Targets::TargetProgramCounter> fromAddress) const;
|
||||
void stepTargetExecution(std::optional<Targets::TargetMemoryAddress> fromAddress) const;
|
||||
|
||||
/**
|
||||
* Requests the TargetController to read register values from the target.
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Bloom
|
||||
if (::sigwait(&signalSet, &signalNumber) == 0) {
|
||||
Logger::debug("SIGNAL " + std::to_string(signalNumber) + " received");
|
||||
|
||||
const auto handlerIt = this->handlersBySignalNum.find(signalNumber);
|
||||
const auto& handlerIt = this->handlersBySignalNum.find(signalNumber);
|
||||
if (handlerIt != this->handlersBySignalNum.end()) {
|
||||
// We have a registered handler for this signal.
|
||||
handlerIt->second();
|
||||
|
||||
Reference in New Issue
Block a user