26 #ifndef ORCASIM_GDBRSP_INCLUDE_RSPSERVER_HPP_ 27 #define ORCASIM_GDBRSP_INCLUDE_RSPSERVER_HPP_ 42 #define RSP_BUFFER_SIZE 5000 43 #define RSP_EMPTY_RESPONSE "" 93 uint8_t
Checksum(
char* buffer,
int size);
131 #endif // ORCASIM_GDBRSP_INCLUDE_RSPSERVER_HPP_
char _input_buffer[RSP_BUFFER_SIZE]
int Handle_Question(char *)
char _output_buffer[RSP_BUFFER_SIZE]
This class implements an asynchonous udp server.
RspServer(GdbProcessorState< T > *state, Memory *mem, std::string ipaddr, uint32_t udpport)
Ctor.
int Handle_v(char *)
Message handlers.
std::list< T > * _bp_list
int Ack()
Query for a message.
int Respond(std::string data)
This class models a memory module.
uint8_t Checksum(char *buffer, int size)
GdbProcessorState< T > * _state
Defines a generic state model for use within processor models.