From: Tom Tromey Date: Sat, 21 Apr 2018 22:09:10 +0000 (-0600) Subject: Add -Wshadow=local X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96643e35c077ed36c74b231ceefa4c30b3b02e28;p=binutils-gdb.git Add -Wshadow=local This adds -Wshadow=local to configure. gdb/ChangeLog 2018-10-04 Tom Tromey * configure: Rebuild. * warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local. gdb/gdbserver/ChangeLog 2018-10-04 Tom Tromey * configure: Rebuild. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bf08bcb4b0..912bdecfb20 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-10-04 Tom Tromey + + * configure: Rebuild. + * warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local. + 2018-10-04 Tom Tromey * guile/scm-frame.c (gdbscm_frame_read_var): Remove inner diff --git a/gdb/configure b/gdb/configure index 0ba80147c68..304adc81fec 100755 --- a/gdb/configure +++ b/gdb/configure @@ -15462,7 +15462,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-error=deprecated-register \ -Wsuggest-override \ -Wimplicit-fallthrough=3 \ --Wduplicated-cond" +-Wduplicated-cond \ +-Wshadow=local" case "${host}" in *-*-mingw32*) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5e35062b40a..da4c24f2251 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2018-10-04 Tom Tromey + + * configure: Rebuild. + 2018-10-04 Tom Tromey * server.c (handle_status): Rename inner "thread". diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 43846659fb9..a46b865f612 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7245,7 +7245,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-error=deprecated-register \ -Wsuggest-override \ -Wimplicit-fallthrough=3 \ --Wduplicated-cond" +-Wduplicated-cond \ +-Wshadow=local" case "${host}" in *-*-mingw32*) diff --git a/gdb/warning.m4 b/gdb/warning.m4 index 82170acc802..42ab1b53d57 100644 --- a/gdb/warning.m4 +++ b/gdb/warning.m4 @@ -45,7 +45,8 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-error=deprecated-register \ -Wsuggest-override \ -Wimplicit-fallthrough=3 \ --Wduplicated-cond" +-Wduplicated-cond \ +-Wshadow=local" case "${host}" in *-*-mingw32*)