2023-09-10 22:27:10 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <set>
|
|
|
|
|
|
2024-10-25 22:22:25 +01:00
|
|
|
#include "CommandPacket.hpp"
|
2023-09-10 22:27:10 +01:00
|
|
|
|
|
|
|
|
namespace DebugServer::Gdb::AvrGdb::CommandPackets
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The VContSupportedActionsQuery command packet is a query from the GDB client, requesting a list of vCont actions
|
|
|
|
|
* supported by the server.
|
|
|
|
|
*
|
|
|
|
|
* Responses to this command packet should take the form of a ResponsePackets::SupportedFeaturesResponse.
|
|
|
|
|
*/
|
2024-10-25 22:22:25 +01:00
|
|
|
class VContSupportedActionsQuery: public CommandPackets::CommandPacket
|
2023-09-10 22:27:10 +01:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit VContSupportedActionsQuery(const RawPacket& rawPacket);
|
|
|
|
|
|
|
|
|
|
void handle(
|
2024-10-25 22:22:25 +01:00
|
|
|
DebugSession& debugSession,
|
|
|
|
|
const AvrGdbTargetDescriptor& gdbTargetDescriptor,
|
2024-07-23 21:14:22 +01:00
|
|
|
const Targets::TargetDescriptor& targetDescriptor,
|
2023-09-10 22:27:10 +01:00
|
|
|
Services::TargetControllerService& targetControllerService
|
|
|
|
|
) override;
|
|
|
|
|
};
|
|
|
|
|
}
|