binutils-gdb/sim/m32c
Tsukasa OI fe8732f939 sim/m32c: 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.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
int.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
int.h 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
local.mk Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m32c.opc 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
misc.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
misc.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
opc2c.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
r8c.opc Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
reg.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
srcdest.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
syscalls.c sim: fix BFD_VMA format arguments on 32-bit hosts [PR gdb/29184] 2022-06-15 23:12:56 +01:00
syscalls.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
timer_a.h sim: m32c: enable warnings & clean up a bunch 2015-04-01 02:22:58 -04:00
trace.c sim/m32c: 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