import gdb-1999-10-11 snapshot
[deliverable/binutils-gdb.git] / gdb / serial.c
index 99c5a54f8323ac0d3aa2735fb0ffd0dc2138594b..2d73226761c1111c2abf9d4af2e4e88b2140a98c 100644 (file)
@@ -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)
     {
This page took 0.024299 seconds and 4 git commands to generate.