diff options
author | Kung Hsu <kung@cygnus> | 1994-07-18 22:35:33 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1994-07-18 22:35:33 +0000 |
commit | b0a0ee5272ca85c492522ae2c4b1decf9dcae134 (patch) | |
tree | fef565b8bed6bb048d1e42571e37a4ac72d9b0b7 /gdb/remote-mips.c | |
parent | 98f6da4f021216e9c0fb72eea732e25002bcbad9 (diff) | |
download | gdb-b0a0ee5272ca85c492522ae2c4b1decf9dcae134.zip gdb-b0a0ee5272ca85c492522ae2c4b1decf9dcae134.tar.gz gdb-b0a0ee5272ca85c492522ae2c4b1decf9dcae134.tar.bz2 |
Modified Files:
remote-mips.c ChangeLog
* remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
prompt.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 1ae7f92..4b4ad2e 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"); |