diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-26 22:55:53 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 10:45:51 -0400 |
commit | ded82565c6d432c6dcfc6a867bad479633426a62 (patch) | |
tree | bffd6855644e001c2d29621b6db44e5d452fd61e /sim/common/cgen-trace.h | |
parent | 2d922d86bac7b51bfe8e45ed4c8aa7af37010ead (diff) | |
download | gdb-ded82565c6d432c6dcfc6a867bad479633426a62.zip gdb-ded82565c6d432c6dcfc6a867bad479633426a62.tar.gz gdb-ded82565c6d432c6dcfc6a867bad479633426a62.tar.bz2 |
sim: cgen: constify trace strings
Shouldn't be any functional changes here.
Diffstat (limited to 'sim/common/cgen-trace.h')
-rw-r--r-- | sim/common/cgen-trace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/common/cgen-trace.h b/sim/common/cgen-trace.h index 6e860de..fcf50e9 100644 --- a/sim/common/cgen-trace.h +++ b/sim/common/cgen-trace.h @@ -24,9 +24,9 @@ void cgen_trace_insn_init (SIM_CPU *, int); void cgen_trace_insn_fini (SIM_CPU *, const struct argbuf *, int); void cgen_trace_insn (SIM_CPU *, const struct cgen_insn *, const struct argbuf *, IADDR); -void cgen_trace_extract (SIM_CPU *, IADDR, char *, ...); -void cgen_trace_result (SIM_CPU *, char *, int, ...); -void cgen_trace_printf (SIM_CPU *, char *fmt, ...); +void cgen_trace_extract (SIM_CPU *, IADDR, const char *, ...); +void cgen_trace_result (SIM_CPU *, const char *, int, ...); +void cgen_trace_printf (SIM_CPU *, const char *fmt, ...); /* Trace instruction results. */ #define CGEN_TRACE_RESULT_P(cpu, abuf) \ |