mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-16 04:18:50 +00:00
Modified Files:
remote-mips.c ChangeLog
* remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
prompt.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user