diff options
author | Tom Tromey <tom@tromey.com> | 2016-06-06 12:56:42 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-07-21 13:07:23 -0600 |
commit | 305450edd3f96bfeebff78300e1e93487563d90a (patch) | |
tree | a0af376b04c25eee310ce2d11e6095fb0ca5f9a9 /gdb/gdbserver | |
parent | f515a1d643b599ebb8a23d3d95e9f0dfc8261a11 (diff) | |
download | gdb-305450edd3f96bfeebff78300e1e93487563d90a.zip gdb-305450edd3f96bfeebff78300e1e93487563d90a.tar.gz gdb-305450edd3f96bfeebff78300e1e93487563d90a.tar.bz2 |
Add -Wunused-but-set-* to build
This adds -Wunused-but-set-variable and -Wunused-but-set-parameter to
configure.
2016-07-21 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS) <build_warnings>: Add
-Wunused-but-set-parameter, -Wunused-but-set-variable.
2016-07-21 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rwxr-xr-x | gdb/gdbserver/configure | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 4156790..349af82 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2016-07-21 Tom Tromey <tom@tromey.com> + + * configure: Rebuild. + 2016-07-21 Yao Qi <yao.qi@linaro.org> * mem-break.c (find_gdb_breakpoint): Cast bp to diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 746218e..2926deb 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -6291,7 +6291,7 @@ fi build_warnings="-Wall -Wpointer-arith \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts \ --Wempty-body" +-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable" # Now add in C and C++ specific options, depending on mode. if test "$enable_build_with_cxx" = "yes"; then |