binutils-gdb/gdb/nat
Simon Marchi 1e5b66ed42 linux-waitpid: Get rid of format string warning
Clang gives this warning:

/home/emaisin/src/binutils-gdb/gdb/gdbserver/../nat/linux-waitpid.c:45:25: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
      vfprintf (stderr, format, args);
                        ^~~~~~

Get rid of it by adding ATTRIBUTE_PRINTF.

gdb/ChangeLog:

	* nat/linux-waitpid.c (linux_debug): Add ATTRIBUTE_PRINTF.
2017-09-21 15:19:40 +02:00
..
aarch64-linux-hw-point.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
aarch64-linux-hw-point.h Include break-common.h in nat/aarch64-linux-hw-point.h 2017-01-06 14:33:01 +00:00
aarch64-linux.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
aarch64-linux.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
amd64-linux-siginfo.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
amd64-linux-siginfo.h Include signal.h in nat/amd64-linux-siginfo.h 2017-01-06 14:33:01 +00:00
fork-inferior.c Remove make_cleanup_restore_target_terminal 2017-09-20 16:09:50 -06:00
fork-inferior.h Add ATTRIBUTE_PRINTF to trace_start_error 2017-06-17 23:19:25 +02:00
gdb_ptrace.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb_thread_db.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
glibc_thread_db.h Move shared native target specific code to gdb/nat 2014-06-20 14:06:48 +01:00
linux-btrace.c Introduce and use gdb_file_up 2017-08-03 07:58:52 -06:00
linux-btrace.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-namespaces.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-namespaces.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-nat.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-osdata.c Introduce and use gdb_file_up 2017-08-03 07:58:52 -06:00
linux-osdata.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-personality.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-personality.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-procfs.c Rename _const functions to use overloading instead 2017-09-11 15:46:12 -06:00
linux-procfs.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-ptrace.c nat/linux-ptrace.c: add missing gdb_byte* cast 2017-06-18 23:29:03 +02:00
linux-ptrace.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
linux-waitpid.c linux-waitpid: Get rid of format string warning 2017-09-21 15:19:40 +02:00
linux-waitpid.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-linux-watch.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-linux-watch.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
ppc-linux.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
ppc-linux.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-cpuid.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-dregs.c x86-dregs: Print debug registers one per line 2017-06-25 12:40:10 +02:00
x86-dregs.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-gcc-cpuid.h Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch. 2017-02-17 11:43:39 +01:00
x86-linux-dregs.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-linux-dregs.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-linux.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
x86-linux.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00