aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-05-22 13:30:01 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-05-22 13:30:01 +0000
commitd3d2a9f718bdf18618b6f44ffa93a880336eb974 (patch)
treef6d5c1ca24b1f3807545ec17973a3da0c98bb254 /sim
parent6e61ecfc92456bd557cd2276a92e34a13fd1ca4e (diff)
downloadgdb-d3d2a9f718bdf18618b6f44ffa93a880336eb974.zip
gdb-d3d2a9f718bdf18618b6f44ffa93a880336eb974.tar.gz
gdb-d3d2a9f718bdf18618b6f44ffa93a880336eb974.tar.bz2
ifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.
Diffstat (limited to 'sim')
-rw-r--r--sim/mips/ChangeLog5
-rw-r--r--sim/mips/interp.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 946fd34..498e32f 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com>
+
+ * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
+ and simBE when DEBUG is defined.
+
Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (interrupt_event): New function. Pass exception event
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index e2a0056..e3ea529 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -4140,11 +4140,15 @@ sim_engine_run (sd, next_cpu_nr, siggnal)
#ifdef DEBUG
{
printf("DBG: state = 0x%08X :",state);
+#if 0
if (state & simSTOP) printf(" simSTOP");
if (state & simSTEP) printf(" simSTEP");
+#endif
if (state & simHALTEX) printf(" simHALTEX");
if (state & simHALTIN) printf(" simHALTIN");
+#if 0
if (state & simBE) printf(" simBE");
+#endif
printf("\n");
}
#endif /* DEBUG */