* remote-nindy (nindy_wait): Use infinite timeout reading after
authorKung Hsu <kung@cygnus>
Wed, 5 Jul 1995 18:41:40 +0000 (18:41 +0000)
committerKung Hsu <kung@cygnus>
Wed, 5 Jul 1995 18:41:40 +0000 (18:41 +0000)
        esacpe character.

gdb/ChangeLog
gdb/remote-nindy.c

index 2e24ebc..7f99b3e 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jul  5 11:38:36 1995  Kung Hsu  <kung@rtl.cygnus.com>
+
+       * remote-nindy (nindy_wait): Use infinite timeout reading after
+       esacpe character.
+
 Tue Jul  4 10:30:22 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
 
        * infrun.c (wait_for_inferior): When switching from one thread to
index 1ced9cc..3cdaf0c 100644 (file)
@@ -366,7 +366,7 @@ nindy_wait( pid, status )
            }
          else if (c == 0x1b) /* ESC */
            {
-             c = SERIAL_READCHAR (nindy_serial, 1);
+             c = SERIAL_READCHAR (nindy_serial, -1);
              c &= ~0x40;
            } 
          else if (c != 0x10) /* DLE */