Modified Files:
authorKung Hsu <kung@cygnus>
Mon, 18 Jul 1994 22:35:33 +0000 (22:35 +0000)
committerKung Hsu <kung@cygnus>
Mon, 18 Jul 1994 22:35:33 +0000 (22:35 +0000)
remote-mips.c ChangeLog

        * remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
        prompt.

gdb/ChangeLog
gdb/remote-mips.c

index 9f66f88380af384b665e8b86520cade2b4b213f1..791ebc3422af6a3a265f18c7cbf50b9d809399ea 100644 (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.
index 1ae7f92b07da27e0811f16d0f561bb6abfd53d3b..4b4ad2eb3fc26531166bb18e7a67d1fcf4b4f037 100644 (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");