#pragma once #include #include #include "src/DebugServer/Gdb/Packet.hpp" namespace Bloom::DebugServer::Gdb::ResponsePackets { /** * Upon receiving a CommandPacket from the connected GDB RSP client, the server is expected to respond with a * response packet. */ class ResponsePacket: public Packet { public: ResponsePacket() = default; explicit ResponsePacket(const std::vector& data) { this->data = data; } explicit ResponsePacket(const std::string& data) { this->data = std::vector(data.begin(), data.end()); } }; }