Files
BloomPatched/src/DebugServer/Gdb/ResponsePackets/ResponsePacket.hpp

23 lines
519 B
C++
Raw Normal View History

2021-04-04 21:04:12 +01:00
#pragma once
#include <vector>
#include <memory>
2022-03-31 21:52:46 +01:00
#include "src/DebugServer/Gdb/Packet.hpp"
2021-04-04 21:04:12 +01:00
namespace Bloom::DebugServer::Gdb::ResponsePackets
2021-04-04 21:04:12 +01:00
{
/**
* 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<unsigned char>& data) {
this->data = data;
}
};
}