aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-28 06:45:35 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-28 06:45:35 +0000
commit704deef2c0830b00aca6614989cf7944b38ebeba (patch)
tree8faf989eee64b6419088445e6e4587246f389b6c /gdb/ser-tcp.c
parent157ea89d778f04125d60b9d2d8a80831b632bb38 (diff)
downloadgdb-704deef2c0830b00aca6614989cf7944b38ebeba.zip
gdb-704deef2c0830b00aca6614989cf7944b38ebeba.tar.gz
gdb-704deef2c0830b00aca6614989cf7944b38ebeba.tar.bz2
* 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.
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c8
1 files changed, 4 insertions, 4 deletions
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,