From 1db0c2f75cbd377b93546a300fe01150127dd9eb Mon Sep 17 00:00:00 2001 From: Jackie Smith Cashion Date: Tue, 17 Sep 1996 10:03:02 +0000 Subject: [PATCH] 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. --- gdb/remote-mips.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.30.2