Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GdbRemote Class Reference

Glue between the GDB remote protocol and jelie. More...

#include <gdbremote.h>

Collaboration diagram for GdbRemote:

Collaboration graph
[legend]
List of all members.

Public Methods

bool openPort (int port=GDB_REMOTE_DEFAULT_PORT)
 open a port for accepting new TCP connections
Parameters:
port  TCP port to listen to
Returns:
true on sucess, false on error.


int prepareFD_SET (fd_set *set)
 accept new incoming connection or listen to active connection
Returns:
the largest file descriptor added, to use with select.


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.


Detailed Description

Glue between the GDB remote protocol and jelie.

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.


The documentation for this class was generated from the following files:
Generated on Fri May 16 13:01:49 2003 for Jelie by doxygen1.2.15