diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-12 04:37:53 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-10-12 04:37:53 +0000 |
commit | a53c440bf2c42802dc25fb9fa62f0f5dc196b399 (patch) | |
tree | c529861a454a8200807cbb62af394c2952248e00 /gdb/serial.c | |
parent | f4e2ab8d6023f442c422f4f883c9c96f0106190f (diff) | |
download | gdb-a53c440bf2c42802dc25fb9fa62f0f5dc196b399.tar.gz |
import gdb-1999-10-11 snapshot
Diffstat (limited to 'gdb/serial.c')
-rw-r--r-- | gdb/serial.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/serial.c b/gdb/serial.c index 99c5a54f832..2d73226761c 100644 --- a/gdb/serial.c +++ b/gdb/serial.c @@ -344,6 +344,11 @@ serial_readchar (serial_t scb, int timeout) { int ch; + /* FIXME: cagney/1999-10-11: Don't enable this check until the ASYNC + code is finished. */ + if (0 && SERIAL_IS_ASYNC_P (scb) && timeout < 0) + internal_error ("serial_readchar: blocking read in async mode"); + ch = scb->ops->readchar (scb, timeout); if (serial_logfp != NULL) { |