This commit is contained in:
Nav
2023-04-01 12:40:12 +01:00
parent 56ea97369d
commit 06b6c4460b
6 changed files with 6 additions and 6 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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.

View File

@@ -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()) {

View File

@@ -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.

View File

@@ -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();