diff options
author | Jackie Smith Cashion <jsmith@redhat.com> | 1996-09-17 10:03:02 +0000 |
---|---|---|
committer | Jackie Smith Cashion <jsmith@redhat.com> | 1996-09-17 10:03:02 +0000 |
commit | 1db0c2f75cbd377b93546a300fe01150127dd9eb (patch) | |
tree | 267ca01d068d834b5a0dea777fcf607af31d66f4 /gdb/remote-mips.c | |
parent | 1153e84b7b2eb4ae92ddf5ca7d92ca54a2f0ec3c (diff) | |
download | gdb-1db0c2f75cbd377b93546a300fe01150127dd9eb.zip gdb-1db0c2f75cbd377b93546a300fe01150127dd9eb.tar.gz gdb-1db0c2f75cbd377b93546a300fe01150127dd9eb.tar.bz2 |
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.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 657d1ba..1883756 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 |