From 3ffbdf15324b373b8a941dc58e421d1420b80ffc Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 6 Mar 1998 20:38:45 +0000 Subject: PR 15068 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than SERIAL_FLUSH_OUTPUT. * serial.h (struct serial_ops): Add drain_output, pointer to function that waits for output to drain. (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain. * ser-unix.c (hardwire_drain_output): New function and prototype. * ser-unix.c (hardwire_ops): Add entry for drain_output function. * ser-tcp.c (tcp_ops): Ditto. * ser-ocd.c (ocd_ops): Ditto. * ser-mac.c (mac_ops): Ditto. * ser-go32.c (dos_ops): Ditto. * ser-e7kpc.c (e7000pc_ops): Ditto. --- gdb/ser-tcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/ser-tcp.c') diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 23153a9..279cbd0 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -342,6 +342,7 @@ static struct serial_ops tcp_ops = tcp_noflush_set_tty_state, tcp_setbaudrate, tcp_setstopbits, + tcp_return_0, /* wait for output to drain */ }; void -- cgit v1.1