diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-15 20:34:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-15 20:34:14 +0000 |
commit | 2cd58942b9bf50ccde261085d8a2b3e7ced88e5e (patch) | |
tree | 9782ed43082f4838f54567f55f29e64ed1cd3312 /gdb/xmodem.c | |
parent | ea7c478fe2e8aac579da890b1861677fa6bea5eb (diff) | |
download | gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.zip gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.gz gdb-2cd58942b9bf50ccde261085d8a2b3e7ced88e5e.tar.bz2 |
* serial.h (SERIAL_ASYNC): Delete.
(DEPRECATED_SERIAL_FD): Delete.
(SERIAL_DEBUG): Delete.
(SERIAL_DEBUG_P): Delete.
(SERIAL_DRAIN_OUTPUT): Delete.
(SERIAL_FLUSH_OUTPUT): Delete.
(SERIAL_FLUSH_INPUT): Delete.
(SERIAL_SEND_BREAK): Delete.
(SERIAL_RAW): Delete.
(SERIAL_GET_TTY_STATE): Delete.
(SERIAL_SET_TTY_STATE): Delete.
(SERIAL_PRINT_TTY_STATE): Delete.
(SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
(SERIAL_SETBAUDRATE): Delete.
(SERIAL_SETSTOPBITS): Delete.
(SERIAL_CAN_ASYNC_P): Delete.
(SERIAL_IS_ASYNC_P): Delete.
(SERIAL_UN_FDOPEN): Delete.
(SERIAL_READCHAR): Delete.
(SERIAL_CLOSE): Delete.
(SERIAL_FDOPEN): Delete.
(SERIAL_OPEN): Delete.
Diffstat (limited to 'gdb/xmodem.c')
-rw-r--r-- | gdb/xmodem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xmodem.c b/gdb/xmodem.c index c428bc8..7b8d77d 100644 --- a/gdb/xmodem.c +++ b/gdb/xmodem.c @@ -40,7 +40,7 @@ readchar (struct serial *desc, int timeout) { int c; - c = SERIAL_READCHAR (desc, timeout); + c = serial_readchar (desc, timeout); if (remote_debug > 0) fputc_unfiltered (c, gdb_stdlog); @@ -217,7 +217,7 @@ xmodem_send_packet (struct serial *desc, unsigned char *packet, int len, int has { int c; - SERIAL_WRITE (desc, packet, pktlen); + serial_write (desc, packet, pktlen); c = readchar (desc, 3); switch (c) @@ -238,7 +238,7 @@ xmodem_send_packet (struct serial *desc, unsigned char *packet, int len, int has } } - SERIAL_WRITE (desc, "\004", 1); /* Send an EOT */ + serial_write (desc, "\004", 1); /* Send an EOT */ error ("xmodem_send_packet: Excessive retries."); } @@ -254,7 +254,7 @@ xmodem_finish_xfer (struct serial *desc) { int c; - SERIAL_WRITE (desc, "\004", 1); /* Send an EOT */ + serial_write (desc, "\004", 1); /* Send an EOT */ c = readchar (desc, 3); switch (c) |