* remote-mips.c (mips-initialize): Work around flakiness in

some versions of PMON after loading a program.
This commit is contained in:
Mark Alexander 1997-10-05 01:53:22 +00:00
parent b15d0449a8
commit 794868783d
1 changed files with 5 additions and 0 deletions

View File

@ -1504,6 +1504,11 @@ mips_initialize ()
if (mips_monitor != MON_IDT)
{
/* Sometimes PMON ignores the first few characters in the first
command sent after a load. Sending a blank command gets
around that. */
mips_send_command ("\r", -1);
/* Ensure the correct target state: */
if (mips_monitor != MON_LSI)
mips_send_command ("set regsize 64\r", -1);