* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
authorKung Hsu <kung@cygnus>
Thu, 22 Jun 1995 20:16:56 +0000 (20:16 +0000)
committerKung Hsu <kung@cygnus>
Thu, 22 Jun 1995 20:16:56 +0000 (20:16 +0000)
gdb/ChangeLog
gdb/remote-nindy.c

index 5fea4190c8ed4a03e2a436b320c43d6c58abfad4..99de17fb841f5f8599fae2aa4ec38e8ef97616c6 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jun 22 13:12:33 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
+
 Wed Jun 21 13:24:41 1995  Jeff Law  (law@snake.cs.utah.edu)
 
        * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
index 7876d5bfb62076c4440d6335b9fc7216d1f95c2e..0fcaf2fce60f1d5a2d51984095233ae80e781aaf 100644 (file)
@@ -359,14 +359,14 @@ nindy_wait( pid, status )
   while (1)
     {
          /* Input on remote */
-         c = SERIAL_READCHAR (nindy_serial, 0);
+         c = SERIAL_READCHAR (nindy_serial, -1);
          if (c == SERIAL_ERROR)
            {
              error ("Cannot read from serial line");
            }
          else if (c == 0x1b) /* ESC */
            {
-             c = SERIAL_READCHAR (nindy_serial, 0);
+             c = SERIAL_READCHAR (nindy_serial, 1);
              c &= ~0x40;
            } 
          else if (c != 0x10) /* DLE */