From: Kung Hsu Date: Mon, 18 Jul 1994 22:35:33 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0a0ee5272ca85c492522ae2c4b1decf9dcae134;p=binutils-gdb.git Modified Files: remote-mips.c ChangeLog * remote-mips.c (mips_readchar): Fix a bug in checking prompt. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f66f88380a..791ebc3422a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com) + + * remote-mips.c (mips_readchar): Fix a bug in checking + prompt. + Mon Jul 18 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com) * solib.c (look_for_base): Don't deref exec_bfd if NULL. diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 1ae7f92b07d..4b4ad2eb3fc 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -338,6 +338,8 @@ mips_readchar (timeout) static int state = 0; static char nextstate[5] = { '<', 'I', 'D', 'T', '>' }; + if (state == 5) + timeout = 1; ch = SERIAL_READCHAR (mips_desc, timeout); if (ch == SERIAL_EOF) mips_error ("End of file from remote");