1 // Modified for uClinux - Vic - Apr 2002
4 // file: nios_gdb_stub_IO.c
6 // Single character I/O for Nios GDB Stub
14 #include "nios_gdb_stub.h"
16 #ifdef nasys_debug_uart
17 #define GDB_UART nasys_debug_uart
25 while( (c
= (char)nr_uart_rxchar(GDB_UART
)) < 0 )
32 void GDBPutChar(char c
)
35 nr_uart_txchar(c
, GDB_UART
);