Replaced StepTargetExecution event with TC command
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Bloom::Events
|
||||
REMOVE_BREAKPOINT_ON_TARGET,
|
||||
BREAKPOINT_SET_ON_TARGET,
|
||||
BREAKPOINT_REMOVED_ON_TARGET,
|
||||
STEP_TARGET_EXECUTION,
|
||||
SET_PROGRAM_COUNTER_ON_TARGET,
|
||||
PROGRAM_COUNTER_SET_ON_TARGET,
|
||||
EXTRACT_TARGET_DESCRIPTOR,
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "RemoveBreakpointOnTarget.hpp"
|
||||
#include "BreakpointSetOnTarget.hpp"
|
||||
#include "BreakpointRemovedOnTarget.hpp"
|
||||
#include "StepTargetExecution.hpp"
|
||||
#include "SetProgramCounterOnTarget.hpp"
|
||||
#include "ProgramCounterSetOnTarget.hpp"
|
||||
#include "ExtractTargetDescriptor.hpp"
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "TargetExecutionResumed.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class StepTargetExecution: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = TargetExecutionResumed;
|
||||
|
||||
static constexpr EventType type = EventType::STEP_TARGET_EXECUTION;
|
||||
static inline const std::string name = "StepTargetExecution";
|
||||
std::optional<std::uint32_t> fromProgramCounter;
|
||||
|
||||
StepTargetExecution() = default;
|
||||
explicit StepTargetExecution(std::uint32_t fromProgramCounter): fromProgramCounter(fromProgramCounter) {};
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return StepTargetExecution::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return StepTargetExecution::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user