diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-06 20:35:02 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-12 20:07:57 -0400 |
commit | 04381273a9ea0cf30575d58983287cd950b3e166 (patch) | |
tree | c58e24e6afe011ffca7403f18ff41f9740dcf4a4 /sim/ppc/debug.h | |
parent | 497a20bd3b7f7bffac5cdc7ae03e768cf92a04fd (diff) | |
download | gdb-04381273a9ea0cf30575d58983287cd950b3e166.zip gdb-04381273a9ea0cf30575d58983287cd950b3e166.tar.gz gdb-04381273a9ea0cf30575d58983287cd950b3e166.tar.bz2 |
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.
Diffstat (limited to 'sim/ppc/debug.h')
-rw-r--r-- | sim/ppc/debug.h | 19 |
1 files changed, 19 insertions, 0 deletions
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_ */ |