aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-trace.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-04-17 12:21:35 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-04-17 12:21:35 +0000
commitcdd7a784bddaf0bb786332921055ddedad818a8f (patch)
treed1d1409e82eadde79d1691a9aa40ae7c0ba1f925 /sim/common/sim-trace.h
parent75cfb4864d05579bf40a799079c60cfc0f7377a9 (diff)
downloadgdb-cdd7a784bddaf0bb786332921055ddedad818a8f.zip
gdb-cdd7a784bddaf0bb786332921055ddedad818a8f.tar.gz
gdb-cdd7a784bddaf0bb786332921055ddedad818a8f.tar.bz2
MAX_CPUS -> WITH_SMP.
Diffstat (limited to 'sim/common/sim-trace.h')
-rw-r--r--sim/common/sim-trace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/sim-trace.h b/sim/common/sim-trace.h
index 29d85bd..2707269 100644
--- a/sim/common/sim-trace.h
+++ b/sim/common/sim-trace.h
@@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* Tracing support. */
-#ifdef MAX_CPUS
+#if WITH_SMP
/* Return non-zero if tracing of IDX is enabled for CPU. */
#define TRACE_P(cpu,idx) \
@@ -62,13 +62,13 @@ do { \
trace_printf args; \
} while (0)
-#endif /* MAX_CPUS */
+#endif /* WITH_SMP */
extern void trace_printf PARAMS ((char *, ...));
/* Debug support. */
-#ifdef MAX_CPUS
+#if WITH_SMP
/* Return non-zero if debugging of IDX for CPU is enabled. */
#define DEBUG_P(cpu, idx) \
@@ -105,7 +105,7 @@ do { \
debug_printf args; \
} while (0)
-#endif /* MAX_CPUS */
+#endif /* WITH_SMP */
extern void debug_printf PARAMS ((char *, ...));