Replaced ResumeTargetExecution event with TC command
This commit is contained in:
@@ -15,7 +15,6 @@ namespace Bloom::Events
|
||||
enum class EventType: std::uint8_t
|
||||
{
|
||||
GENERIC,
|
||||
RESUME_TARGET_EXECUTION,
|
||||
RESET_TARGET,
|
||||
DEBUG_SESSION_STARTED,
|
||||
DEBUG_SESSION_FINISHED,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <memory>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "ResumeTargetExecution.hpp"
|
||||
#include "ResetTarget.hpp"
|
||||
#include "DebugSessionStarted.hpp"
|
||||
#include "DebugSessionFinished.hpp"
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "TargetExecutionResumed.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class ResumeTargetExecution: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = TargetExecutionResumed;
|
||||
|
||||
static constexpr EventType type = EventType::RESUME_TARGET_EXECUTION;
|
||||
static inline const std::string name = "ResumeTargetExecutionEvent";
|
||||
std::optional<std::uint32_t> fromProgramCounter;
|
||||
|
||||
ResumeTargetExecution() = default;
|
||||
explicit ResumeTargetExecution(std::uint32_t fromProgramCounter): fromProgramCounter(fromProgramCounter) {};
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ResumeTargetExecution::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return ResumeTargetExecution::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user