aboutsummaryrefslogtreecommitdiff
path: root/gdb/nindy-share/ttyflush.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-15 20:34:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-15 20:34:14 +0000
commit2cd58942b9bf50ccde261085d8a2b3e7ced88e5e (patch)
tree9782ed43082f4838f54567f55f29e64ed1cd3312 /gdb/nindy-share/ttyflush.c
parentea7c478fe2e8aac579da890b1861677fa6bea5eb (diff)
downloadgdb-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/nindy-share/ttyflush.c')
-rw-r--r--gdb/nindy-share/ttyflush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/nindy-share/ttyflush.c b/gdb/nindy-share/ttyflush.c
index 786850a..f9aaa2e 100644
--- a/gdb/nindy-share/ttyflush.c
+++ b/gdb/nindy-share/ttyflush.c
@@ -31,10 +31,10 @@ tty_flush (serial)
{
while (1)
{
- SERIAL_FLUSH_INPUT (serial);
- SERIAL_FLUSH_OUTPUT (serial);
+ serial_flush_input (serial);
+ serial_flush_output (serial);
sleep(1);
- switch (SERIAL_READCHAR (serial, 0))
+ switch (serial_readchar (serial, 0))
{
case SERIAL_TIMEOUT:
case SERIAL_ERROR: