binutils-gdb/sim/m68hc11
Tsukasa OI 7f9495b213 sim/m68hc11: 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
..
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
dv-m68hc11.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
dv-m68hc11eepr.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
dv-m68hc11sio.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
dv-m68hc11spi.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
dv-m68hc11tim.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
dv-nvram.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
emulos.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
gencode.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
interp.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
interrupts.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
interrupts.h sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
local.mk Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m68hc11_sim.c sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
Makefile.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sim-main.h sim/m68hc11: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00