diff options
author | Fred Fish <fnf@specifix.com> | 1998-03-06 20:38:45 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1998-03-06 20:38:45 +0000 |
commit | 3ffbdf15324b373b8a941dc58e421d1420b80ffc (patch) | |
tree | f0d22634fc0a49fcefa896ac1cc2a44742917dbe /gdb/ser-ocd.c | |
parent | d030671bfc3affe14cd56137f4f343290942fbb7 (diff) | |
download | gdb-3ffbdf15324b373b8a941dc58e421d1420b80ffc.zip gdb-3ffbdf15324b373b8a941dc58e421d1420b80ffc.tar.gz gdb-3ffbdf15324b373b8a941dc58e421d1420b80ffc.tar.bz2 |
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.
Diffstat (limited to 'gdb/ser-ocd.c')
-rw-r--r-- | gdb/ser-ocd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ser-ocd.c b/gdb/ser-ocd.c index 08239bb..7ef1796 100644 --- a/gdb/ser-ocd.c +++ b/gdb/ser-ocd.c @@ -197,6 +197,7 @@ static struct serial_ops ocd_ops = ocd_print_tty_state, ocd_noflush_set_tty_state, ocd_setbaudrate, + ocd_noop, /* wait for output to drain */ }; void |