Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>

* remote-mips.c (pmon_wait): CAIRO PMON does not require forced
 	re-entry back into debug mode.
This commit is contained in:
Jackie Smith Cashion 1996-09-17 10:03:02 +00:00
parent 1153e84b7b
commit 1db0c2f75c
1 changed files with 5 additions and 2 deletions

View File

@ -1664,8 +1664,11 @@ pmon_wait (pid, status)
seems to be caused by a check on the number of arguments, and the
command length, within the monitor causing it to echo the command
as a bad packet. */
mips_exit_debug ();
mips_enter_debug ();
if (mips_monitor != MON_CAIRO)
{
mips_exit_debug ();
mips_enter_debug ();
}
/* Translate a MIPS waitstatus. We use constants here rather than WTERMSIG
and so on, because the constants we want here are determined by the