* remote-hms.c (hms_wait): use -1 for timeout's which means block
authorK. Richard Pixley <rich@cygnus>
Fri, 13 Aug 1993 21:49:51 +0000 (21:49 +0000)
committerK. Richard Pixley <rich@cygnus>
Fri, 13 Aug 1993 21:49:51 +0000 (21:49 +0000)
  forever rather than 99999.

gdb/ChangeLog
gdb/remote-hms.c

index 348027ebaafc7666e4f7f7e6c494229133b108b0..08b2a38993183f6ef3464a2e9ad12ecbbf0faf3c 100644 (file)
@@ -1,5 +1,8 @@
 Fri Aug 13 14:37:05 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
 
+       * remote-hms.c (hms_wait): use -1 for timeout's which means block
+         forever rather than 99999.
+
        * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
          simply save encode this fact as the process group and return
          success rather than an error.
index 126babc5f1daf0b84a79bc2ce2dd2a51a1dab04c..562f88329d3a628e87f5d27a2547a4c3be63bd0d 100644 (file)
@@ -702,7 +702,7 @@ hms_wait (status)
       return 0;
     }
 
-  timeout = 99999;             /* Don't time out -- user program is running. */
+  timeout = -1;                /* Don't time out -- user program is running. */
   immediate_quit = 1;          /* Helps ability to QUIT */
   while (1)
     {