aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
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 /gdb/remote-nindy.c
parent816a827b07a66f45da0f192eef9fad93d5487250 (diff)
downloadgdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.zip
gdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.tar.gz
gdb-c6236d1227f79747b3c3c9dd8cdccbd354c05fa2.tar.bz2
* remote-nindy (nindy_wait): Use infinite timeout reading after
esacpe character.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r--gdb/remote-nindy.c2
1 files changed, 1 insertions, 1 deletions
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 */