next up previous contents index
Next: gdb_pc_com_init: (X86 PC) set Up: 10.18 Serial-line Remote Debugging Previous: 10.18.7 gdb_serial_recv: vector to

10.18.8 gdb_serial_send: vector to GDB serial line send function

   

SYNOPSIS

#include <oskit/gdb_serial.h>

void (*gdb_serial_send )(int ch);

DESCRIPTION

Before the remote serial-line debugging stub can be used, this global variable must be initialized to point to a function to call to send out a character on the serial port.

Calling functions in the GDB serial-line debugging stub before this variable is initialized (i.e., while it is still null) is guaranteed to be harmless.

RETURNS

Returns the character received.



University of Utah Flux Research Group