2022-03-21 19:50:03 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ResponsePacket.hpp"
|
|
|
|
|
|
2022-03-31 16:05:39 +01:00
|
|
|
namespace Bloom::DebugServer::Gdb::ResponsePackets
|
2022-03-21 19:50:03 +00:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Error response packet expected by the GDB client, to indicate an error, in response to certain commands.
|
|
|
|
|
*/
|
|
|
|
|
class ErrorResponsePacket: public ResponsePacket
|
|
|
|
|
{
|
|
|
|
|
public:
|
2022-04-06 17:39:21 +01:00
|
|
|
ErrorResponsePacket()
|
|
|
|
|
: ResponsePacket(std::vector<unsigned char>{'E', '0', '1'})
|
|
|
|
|
{};
|
2022-03-21 19:50:03 +00:00
|
|
|
};
|
|
|
|
|
}
|