From 04381273a9ea0cf30575d58983287cd950b3e166 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 6 Jun 2021 20:35:02 -0400 Subject: sim: unify debug/stdio/trace/profile build settings Move these options up to the common dir so we only test & export them once across all ports. The ppc code needs a little extra care with its trace settings as it's not exactly the same API as the common code. The other knobs are the same though. --- sim/ppc/debug.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'sim/ppc/debug.h') diff --git a/sim/ppc/debug.h b/sim/ppc/debug.h index 6f19624..08ea579 100644 --- a/sim/ppc/debug.h +++ b/sim/ppc/debug.h @@ -169,5 +169,24 @@ trace_option(const char *option, int setting); extern void trace_usage (int verbose); +/* TODO: These values aren't currently used by the ppc port. They're here to + glue the common sim compile-time settings in. The ppc_trace settings above + would need to be overhauled. */ +#define TRACE_insn 1 +#define TRACE_disasm 1 +#define TRACE_decode 1 +#define TRACE_extract 1 +#define TRACE_linenum 1 +#define TRACE_memory 1 +#define TRACE_model 1 +#define TRACE_alu 1 +#define TRACE_core 1 +#define TRACE_events 1 +#define TRACE_fpu 1 +#define TRACE_vpu 1 +#define TRACE_branch 1 +#define TRACE_syscall 1 +#define TRACE_register 1 +#define TRACE_debug 1 #endif /* _DEBUG_H_ */ -- cgit v1.1