binutils-gdb/sim/rl78
Tsukasa OI e9a433bf19 sim/rl78: 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 the printf-like functions.
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
cpu.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpu.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
gdb-if.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
load.c Don't use BFD_VMA_FMT in gdb and sim 2022-08-06 08:03:16 +09:30
load.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
main.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mem.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mem.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
rl78.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
trace.c sim/rl78: Add ATTRIBUTE_PRINTF 2022-10-11 15:18:14 +01:00
trace.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00