+2021-06-16 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (dotrace): Make comment const.
+ * sim-main.h (dotrace): Likewise. Add ATTRIBUTE_PRINTF.
+
2021-06-16 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_monitor): Change ap type to address_word*.
int instruction_size);
#if WITH_TRACE_ANY_P
-void dotrace (SIM_DESC sd, sim_cpu *cpu, FILE *tracefh, int type, SIM_ADDR address, int width, char *comment, ...);
+void dotrace (SIM_DESC sd, sim_cpu *cpu, FILE *tracefh, int type, SIM_ADDR address, int width, const char *comment, ...) ATTRIBUTE_PRINTF (7, 8);
extern FILE *tracefh;
#else
#define dotrace(sd, cpu, tracefh, type, address, width, comment, ...)