* remote-mips.c (mips_initialize): Fix brain damage found by
Jamie. Basically had case statement in the wrong place...
This commit is contained in:
parent
456c701787
commit
afb6948757
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 7 16:02:25 1995 Stu Grossman (grossman@cygnus.com)
|
||||
|
||||
* remote-mips.c (mips_initialize): Fix brain damage found by
|
||||
Jamie. Basically had case statement in the wrong place...
|
||||
|
||||
Tue Nov 7 12:59:14 1995 Raymond Jou <rjou@mexican.cygnus.com>
|
||||
|
||||
* mac-gdb.r: Added #ifdef Macgdb.
|
||||
|
|
|
@ -1075,8 +1075,8 @@ mips_initialize ()
|
|||
break; /* Break immediatly if we get something from
|
||||
the board. */
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
mips_error ("Failed to initialize.");
|
||||
}
|
||||
|
@ -1084,6 +1084,7 @@ mips_initialize ()
|
|||
if (mips_expect (TARGET_MONITOR_PROMPT))
|
||||
break;
|
||||
}
|
||||
|
||||
SERIAL_WRITE (mips_desc, "db tty0\015", sizeof "db tty0\015" - 1);
|
||||
mips_expect ("db tty0\015\012"); /* Eat the echo */
|
||||
|
||||
|
@ -2082,6 +2083,8 @@ mips_load (file, from_tty)
|
|||
|
||||
mips_load_srec (file);
|
||||
|
||||
SERIAL_WRITE (mips_desc, "\015db tty0\015", sizeof "\015db tty0\015" - 1);
|
||||
|
||||
mips_initialize ();
|
||||
|
||||
/* Finally, make the PC point at the start address */
|
||||
|
|
Loading…
Reference in New Issue