* 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 2e24ebc9124fdbab4fc3ed2343a2ebf24b404976..7f99b3e07ed4a2c1d2c6f3c413b60d72b185e691 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 1ced9cc969934e3cfd51f6fa539e8e8204136656..3cdaf0c147316020153b8c4b8f4a62619a088659 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 */