aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-go32.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-go32.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-go32.c')
-rw-r--r--gdb/ser-go32.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index ff1bdf1..905526d 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -267,10 +267,9 @@ go32_open (scb, name)
}
static int
-go32_flush_output (scb)
+go32_noop (scb)
serial_t scb;
{
- /* No need to flush, because there is no buffering. */
return 0;
}
@@ -378,7 +377,9 @@ static struct serial_ops go32_ops =
go32_close,
go32_readchar,
go32_write,
- go32_flush_output,
+ go32_noop, /* flush output */
+ go32_noop, /* flush input */
+ go32_noop, /* send break -- currently used only for nindy */
go32_raw,
go32_get_tty_state,
go32_set_tty_state,