Modified Files:

remote-mips.c ChangeLog

        * remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
        prompt.
This commit is contained in:
Kung Hsu 1994-07-18 22:35:33 +00:00
parent 98f6da4f02
commit b0a0ee5272
2 changed files with 7 additions and 0 deletions

View file

@ -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 <IDT>
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.

View file

@ -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");