Replaced SetBreakpointOnTarget event with TC command
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class BreakpointSetOnTarget: public Event
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::BREAKPOINT_SET_ON_TARGET;
|
||||
static inline const std::string name = "BreakpointSetOnTarget";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return BreakpointSetOnTarget::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return BreakpointSetOnTarget::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -29,9 +29,7 @@ namespace Bloom::Events
|
||||
TARGET_EXECUTION_RESUMED,
|
||||
TARGET_EXECUTION_STOPPED,
|
||||
MEMORY_WRITTEN_TO_TARGET,
|
||||
SET_BREAKPOINT_ON_TARGET,
|
||||
REMOVE_BREAKPOINT_ON_TARGET,
|
||||
BREAKPOINT_SET_ON_TARGET,
|
||||
BREAKPOINT_REMOVED_ON_TARGET,
|
||||
SET_PROGRAM_COUNTER_ON_TARGET,
|
||||
PROGRAM_COUNTER_SET_ON_TARGET,
|
||||
|
||||
@@ -16,9 +16,7 @@
|
||||
#include "TargetExecutionResumed.hpp"
|
||||
#include "TargetExecutionStopped.hpp"
|
||||
#include "MemoryWrittenToTarget.hpp"
|
||||
#include "SetBreakpointOnTarget.hpp"
|
||||
#include "RemoveBreakpointOnTarget.hpp"
|
||||
#include "BreakpointSetOnTarget.hpp"
|
||||
#include "BreakpointRemovedOnTarget.hpp"
|
||||
#include "SetProgramCounterOnTarget.hpp"
|
||||
#include "ProgramCounterSetOnTarget.hpp"
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "BreakpointSetOnTarget.hpp"
|
||||
#include "src/Targets/TargetBreakpoint.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class SetBreakpointOnTarget: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = BreakpointSetOnTarget;
|
||||
|
||||
static constexpr EventType type = EventType::SET_BREAKPOINT_ON_TARGET;
|
||||
static inline const std::string name = "SetBreakpointOnTarget";
|
||||
Targets::TargetBreakpoint breakpoint;
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return SetBreakpointOnTarget::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return SetBreakpointOnTarget::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user