Introduce procedure use_gdb_stub
[deliverable/binutils-gdb.git] / gdb / ser-go32.c
index 72bdc131c410490e4fe4f25ce1def3f21147ce84..10c79bacc05f5750b9854e14b97c00b4a5ac2c2d 100644 (file)
@@ -616,6 +616,8 @@ dos_readchar (struct serial *scb, int timeout)
   then = rawclock () + (timeout * RAWHZ);
   while ((c = dos_getc (port)) < 0)
     {
+      QUIT;
+
       if (timeout >= 0 && (rawclock () - then) >= 0)
        return SERIAL_TIMEOUT;
     }
@@ -794,6 +796,8 @@ dos_write (struct serial *scb, const void *buf, size_t count)
 
   while (count > 0)
     {
+      QUIT;
+
       /* Send the data, fifosize bytes at a time.  */
       cnt = fifosize > count ? count : fifosize;
       port->txbusy = 1;
This page took 0.024666 seconds and 4 git commands to generate.