* remote-mips.c (mips_exit_debug): Some IDT boards don't
authorBob Manson <manson@cygnus>
Thu, 6 Mar 1997 03:36:05 +0000 (03:36 +0000)
committerBob Manson <manson@cygnus>
Thu, 6 Mar 1997 03:36:05 +0000 (03:36 +0000)
send the full exit string.

Fixes a bug when trying to load to our mips IDT boards.

gdb/ChangeLog
gdb/remote-mips.c

index 130b849..0c26824 100644 (file)
@@ -1,3 +1,8 @@
+Wed Mar  5 19:34:09 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * remote-mips.c (mips_exit_debug): Some IDT boards don't
+       send the full exit string.
+
 Wed Mar  5 12:59:27 1997  Jeffrey A Law  (law@cygnus.com)
 
        * mn10200-tdep.c (mn10200_push_arguments): Handle new calling
index 26ed258..bd2affa 100644 (file)
@@ -1312,7 +1312,7 @@ mips_exit_debug ()
     mips_request ('x', (unsigned int) 0, (unsigned int) 0, &err,
                   mips_receive_wait, NULL);
 
-  if (mips_monitor == MON_IDT && !mips_expect ("Exiting remote debug mode"))
+  if (mips_monitor == MON_IDT && !mips_expect ("Exiting remote debug"))
     return -1;
     
   if (mips_monitor == MON_DDB)