binutils-gdb/sim/cris
Tsukasa OI a26c7ec211 sim/cris: Add ATTRIBUTE_PRINTF
Clang generates a warning if the format string of a printf-like function is
not a literal ("-Wformat-nonliteral").  On the default configuration, it
causes a build failure (unless "--disable-werror" is specified).

To avoid warnings on the printf-like wrapper, it requires proper
__attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason.

This commit adds ATTRIBUTE_PRINTF to a printf-like function.
2022-10-11 15:18:14 +01:00
..
arch.c
arch.h
ChangeLog-2021
cpuall.h
cpuv10.c
cpuv10.h
cpuv32.c
cpuv32.h
cris-sim.h
cris-tmpl.c
crisv10f.c
crisv32f.c
decodev10.c
decodev10.h
decodev32.c
decodev32.h
dv-cris_900000xx.c
dv-cris.c
dv-rv.c
local.mk
Makefile.in
mloop.in
modelv10.c
modelv32.c
rvdummy.c
semcrisv10f-switch.c
semcrisv32f-switch.c
sim-if.c Don't use BFD_VMA_FMT in gdb and sim 2022-08-06 08:03:16 +09:30
sim-main.h
traps.c sim/cris: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00