New GDB RSP EmptyResponsePacket class
This commit is contained in:
17
src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp
Normal file
17
src/DebugServer/Gdb/ResponsePackets/EmptyResponsePacket.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "ResponsePacket.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::ResponsePackets
|
||||
{
|
||||
/**
|
||||
* Empty response packet expected by the GDB client, in response to certain commands.
|
||||
*/
|
||||
class EmptyResponsePacket: public ResponsePacket
|
||||
{
|
||||
public:
|
||||
EmptyResponsePacket()
|
||||
: ResponsePacket(std::vector<unsigned char>{0})
|
||||
{}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user