#include <gdbremote.h>
Collaboration diagram for GdbRemote:
Public Methods | |||
bool | openPort (int port=GDB_REMOTE_DEFAULT_PORT) | ||
open a port for accepting new TCP connections
| |||
int | prepareFD_SET (fd_set *set) | ||
accept new incoming connection or listen to active connection
| |||
void | processFD_SET (fd_set *set) | ||
process new connections or messages sent. | |||
void | printError () | ||
prints a string describing the last error on stderr. | |||
Private Methods | |||
unsigned int | parseHexWord () | ||
\TODO rewrite this function. | |||
Private Attributes | |||
unsigned char | buffer [GDB_REMOTE_BUFFER_SIZE] | ||
contains data sent by GDB. | |||
char | message [GDB_REMOTE_BUFFER_SIZE] | ||
contains the message to send. |
This class interprets the gdb protocol and translates the command it receives into JTAG order for the target processor.
Definition at line 47 of file gdbremote.h.