Made VCont step/continue command handlers generic (non-target-specific)

This commit is contained in:
Nav
2024-10-25 23:12:04 +01:00
parent 8be311cbc0
commit 9df41ccfc5
7 changed files with 22 additions and 24 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include <cstdint>
#include "CommandPacket.hpp"
namespace DebugServer::Gdb::CommandPackets
{
/**
* The VContStepExecution class implements a structure for "vCont;s" and "vCont;S" packets.
*/
class VContStepExecution: public CommandPacket
{
public:
explicit VContStepExecution(const RawPacket& rawPacket);
void handle(
DebugSession& debugSession,
const TargetDescriptor& gdbTargetDescriptor,
const Targets::TargetDescriptor& targetDescriptor,
Services::TargetControllerService& targetControllerService
) override;
};
}