From: Jackie Smith Cashion Date: Tue, 17 Sep 1996 10:03:02 +0000 (+0000) Subject: Tue Sep 17 10:56:52 1996 James G. Smith X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1db0c2f75cbd377b93546a300fe01150127dd9eb;p=binutils-gdb.git Tue Sep 17 10:56:52 1996 James G. Smith * remote-mips.c (pmon_wait): CAIRO PMON does not require forced re-entry back into debug mode. --- diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 657d1ba0e4e..1883756bd7a 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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