From c6236d1227f79747b3c3c9dd8cdccbd354c05fa2 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Wed, 5 Jul 1995 18:41:40 +0000 Subject: [PATCH] * remote-nindy (nindy_wait): Use infinite timeout reading after esacpe character. --- gdb/ChangeLog | 5 +++++ gdb/remote-nindy.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2e24ebc9124..7f99b3e07ed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 5 11:38:36 1995 Kung Hsu + + * remote-nindy (nindy_wait): Use infinite timeout reading after + esacpe character. + Tue Jul 4 10:30:22 1995 Jeffrey A. Law * infrun.c (wait_for_inferior): When switching from one thread to diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 1ced9cc9699..3cdaf0c1473 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 */ -- 2.30.2