Replaced SetProgramCounterOnTarget event with TC command
This commit is contained in:
@@ -29,8 +29,6 @@ namespace Bloom::Events
|
||||
TARGET_EXECUTION_RESUMED,
|
||||
TARGET_EXECUTION_STOPPED,
|
||||
MEMORY_WRITTEN_TO_TARGET,
|
||||
SET_PROGRAM_COUNTER_ON_TARGET,
|
||||
PROGRAM_COUNTER_SET_ON_TARGET,
|
||||
EXTRACT_TARGET_DESCRIPTOR,
|
||||
TARGET_DESCRIPTOR_EXTRACTED,
|
||||
INSIGHT_THREAD_STATE_CHANGED,
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include "TargetExecutionResumed.hpp"
|
||||
#include "TargetExecutionStopped.hpp"
|
||||
#include "MemoryWrittenToTarget.hpp"
|
||||
#include "SetProgramCounterOnTarget.hpp"
|
||||
#include "ProgramCounterSetOnTarget.hpp"
|
||||
#include "ExtractTargetDescriptor.hpp"
|
||||
#include "TargetDescriptorExtracted.hpp"
|
||||
#include "InsightThreadStateChanged.hpp"
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class ProgramCounterSetOnTarget: public Event
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::PROGRAM_COUNTER_SET_ON_TARGET;
|
||||
static inline const std::string name = "ProgramCounterSetOnTarget";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ProgramCounterSetOnTarget::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return ProgramCounterSetOnTarget::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "ProgramCounterSetOnTarget.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class SetProgramCounterOnTarget: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = ProgramCounterSetOnTarget;
|
||||
|
||||
static constexpr EventType type = EventType::SET_PROGRAM_COUNTER_ON_TARGET;
|
||||
static inline const std::string name = "SetProgramCounterOnTarget";
|
||||
std::uint32_t address = 0;
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return SetProgramCounterOnTarget::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return SetProgramCounterOnTarget::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user