iPXE
|
A transport mechanism for the GDB protocol. More...
#include <gdbstub.h>
Data Fields | |
const char * | name |
Transport name. More... | |
int(* | init )(int argc, char **argv) |
Set up the transport given a list of arguments. More... | |
size_t(* | recv )(char *buf, size_t len) |
Perform a blocking read. More... | |
void(* | send )(const char *buf, size_t len) |
Write, may block. More... | |
const char* gdb_transport::name |
int( * gdb_transport::init) (int argc, char **argv) |
Set up the transport given a list of arguments.
argc | Number of arguments |
argv | Argument list |
Return | status code |
Note that arguments start at argv[0].
Definition at line 32 of file gdbstub.h.
Referenced by gdbstub_exec().
Perform a blocking read.
buf | Buffer |
len | Size of buffer |
Number | of bytes read into buffer |
Definition at line 40 of file gdbstub.h.
Referenced by gdbstub_handler().
Write, may block.
buf | Buffer |
len | Size of buffer |
Definition at line 47 of file gdbstub.h.
Referenced by gdbstub_state_cksum2(), and gdbstub_tx_packet().