mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
Modified Files:
remote-mips.c ChangeLog * remote-mips.c (mips_readchar): Fix a bug in checking <IDT> prompt.
This commit is contained in:
@ -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