aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-07-05 18:41:40 +0000
committerKung Hsu <kung@cygnus>1995-07-05 18:41:40 +0000
commitc6236d1227f79747b3c3c9dd8cdccbd354c05fa2 (patch)
treea3734d5e375d3b0c67adaba4d46dd19c0480d833
parent816a827b07a66f45da0f192eef9fad93d5487250 (diff)
downloadgdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.zip
gdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.tar.gz
gdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.tar.bz2
* remote-nindy (nindy_wait): Use infinite timeout reading after
esacpe character.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-nindy.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2e24ebc..7f99b3e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index 1ced9cc..3cdaf0c 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -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 */