From 704deef2c0830b00aca6614989cf7944b38ebeba Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 28 Jul 1993 06:45:35 +0000 Subject: * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break. * nindy-share/*, remote-nindy.c: Extensive hacking to make it conform to GDB conventions like using memcpy not bcopy, serial.h, etc. This is to make it host on Solaris, AIX, etc. * Makefile.in: Reflect removed nindy-share files. --- gdb/ser-tcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/ser-tcp.c') diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 6ff79aa..f492bc1 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -141,11 +141,9 @@ tcp_set_tty_state(scb, ttystate) } static int -tcp_flush_output (scb) +tcp_return_0 (scb) serial_t scb; { - /* This is only used by utils.c on stdout, so it doesn't need to work - for tcp. */ return 0; } @@ -309,7 +307,9 @@ static struct serial_ops tcp_ops = tcp_close, tcp_readchar, tcp_write, - tcp_flush_output, + tcp_return_0, /* flush output */ + tcp_return_0, /* flush input */ + tcp_return_0, /* send break */ tcp_raw, tcp_get_tty_state, tcp_set_tty_state, -- cgit v1.1