]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* printcmd.c (printf_command): Make format string checking
authorDaniel Jacobowitz <drow@false.org>
Thu, 2 Feb 2006 02:26:48 +0000 (02:26 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 2 Feb 2006 02:26:48 +0000 (02:26 +0000)
commit46e9880c625972c3a9ac7c0b53bc1a30c2989b7c
treeda4dba64cb6e03010ca03d7e31029700d0f9ff35
parent37a105a123de409e6d33eacc1030d1bebe5b1637
* printcmd.c (printf_command): Make format string checking
stricter.  Add separate cases for long_arg, ptr_arg, and
long_double_arg.
* utils.c (xstrvprintf): Improve the error message issued
for a bad format string.
* Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
New variables.
(gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
$(NO_WERROR_CFLAGS).
(printcmd.o): Likewise.  Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
enable -Werror.
gdb/ChangeLog
gdb/Makefile.in
gdb/printcmd.c
gdb/utils.c