From: Tom Tromey Date: Fri, 10 May 2013 16:10:40 +0000 (+0000) Subject: gdb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3685d60d601f0ae817beb920fc1156f1f0885ee;p=binutils-gdb.git gdb Freddie Chopin PR build/15414: * configure: Rebuild. * configure.ac (build_warnings): Do not use -Wformat-nonliteral with -Wno-format. sim/common * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use -Wformat-nonliteral with -Wno-format. sim/bfin * configure: Rebuild. sim/cr16 * configure: Rebuild. sim/cris * configure: Rebuild. sim/d10v * configure: Rebuild. sim/igen * configure: Rebuild. sim/m68hc11 * configure: Rebuild. sim/mips * configure: Rebuild. sim/mn10300 * configure: Rebuild. sim/v850 * configure: Rebuild. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4b443491465..d43e2bf2318 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2013-05-10 Freddie Chopin + Tom Tromey + + PR build/15414: + * configure: Rebuild. + * configure.ac (build_warnings): Do not use -Wformat-nonliteral + with -Wno-format. + 2013-05-10 Pedro Alves * remote.c (_initialize_remote): Fix spelling of diff --git a/gdb/configure b/gdb/configure index 776fa70c9c1..60337914231 100755 --- a/gdb/configure +++ b/gdb/configure @@ -12446,7 +12446,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wpointer-sign \ +-Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \ -Wdeclaration-after-statement -Wempty-body" @@ -12455,6 +12455,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/gdb/configure.ac b/gdb/configure.ac index ef47cc796aa..3e95c258be4 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1919,7 +1919,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wpointer-sign \ +-Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \ -Wdeclaration-after-statement -Wempty-body" @@ -1928,6 +1928,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac AC_ARG_ENABLE(build-warnings, diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 269246adac7..f8c645ae0f4 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-03-26 Mike Frysinger * aclocal.m4, configure: Regenerate. diff --git a/sim/bfin/configure b/sim/bfin/configure index c56e55dabc6..568f1b2f781 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -13339,7 +13339,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13347,6 +13347,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 3056cced231..86b3e6a62fa 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,9 @@ +2013-05-10 Freddie Chopin + + PR build/15414: + * acinclude.m4 (SIM_AC_OPTION_WARNINGS): Do not use + -Wformat-nonliteral with -Wno-format. + 2013-03-26 Mike Frysinger * acinclude.m4: Regenerate. diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4 index 73191f22dc3..583f7c35bac 100644 --- a/sim/common/acinclude.m4 +++ b/sim/common/acinclude.m4 @@ -872,7 +872,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -880,6 +880,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac AC_ARG_ENABLE(build-warnings, diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index f0c62c35257..4fc2daca41c 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2012-08-28 Kaushik Phatak * cr16_sim.h: Add defines for TRAP handling. diff --git a/sim/cr16/configure b/sim/cr16/configure index ca6dcabdf76..065db2be17e 100644 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -12887,7 +12887,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -12895,6 +12895,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 9d051f9c769..69132511b9e 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-03-26 Mike Frysinger * configure: Regenerate. diff --git a/sim/cris/configure b/sim/cris/configure index 23de4f79c39..19aae1459aa 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -13238,7 +13238,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13246,6 +13246,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 107befc31c4..a9a04af1af3 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2012-06-19 Joel Brobecker * interp.c: #include "config.h" instead of "sysdep.h". diff --git a/sim/d10v/configure b/sim/d10v/configure index ca6dcabdf76..065db2be17e 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -12887,7 +12887,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -12895,6 +12895,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 431d16778e2..bfaa8ee181c 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2012-03-24 Mike Frysinger * configure: Regenerate. diff --git a/sim/igen/configure b/sim/igen/configure index cf5747c6ee9..06ae4cbf952 100755 --- a/sim/igen/configure +++ b/sim/igen/configure @@ -4800,7 +4800,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -4808,6 +4808,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index cda3be67b3c..c277ef16267 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-03-26 Mike Frysinger * configure: Regenerate. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 819c756e701..946ac952ca7 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -13237,7 +13237,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13245,6 +13245,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 09a9a5d3f12..23c4701d4d7 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-03-26 Mike Frysinger * configure: Regenerate. diff --git a/sim/mips/configure b/sim/mips/configure index 92097d84a7b..c54f21e0951 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -13266,7 +13266,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13274,6 +13274,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index e2d0245e594..c689105559f 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-03-26 Mike Frysinger * configure: Regenerate. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 9cef80552b6..c8bf6400098 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -13243,7 +13243,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13251,6 +13251,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given. diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 3d945834393..a3139feb750 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2013-05-10 Freddie Chopin + + * configure: Rebuild. + 2013-01-28 Nick Clifton * simops.c (v850_rotl): New function. diff --git a/sim/v850/configure b/sim/v850/configure index 47c90889eb5..adc2701ea7e 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -13237,7 +13237,7 @@ fi # NOTE: If you change this list, remember to update # gdb/doc/gdbint.texinfo. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-pointer-sign \ +-Wno-pointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes" @@ -13245,6 +13245,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ # GCC versions complain about %I64. case "${host}" in *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; + *) build_warnings="$build_warnings -Wformat-nonliteral" ;; esac # Check whether --enable-build-warnings was given.