Add -Wshadow=local

This adds -Wshadow=local to configure.

gdb/ChangeLog
2018-10-04  Tom Tromey  <tom@tromey.com>

	* configure: Rebuild.
	* warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local.

gdb/gdbserver/ChangeLog
2018-10-04  Tom Tromey  <tom@tromey.com>

	* configure: Rebuild.
This commit is contained in:
Tom Tromey 2018-04-21 16:09:10 -06:00
parent d951f98b3c
commit 96643e35c0
5 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2018-10-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
* warning.m4 (AM_GDB_WARNINGS): Add -Wshadow=local.
2018-10-04 Tom Tromey <tom@tromey.com>
* guile/scm-frame.c (gdbscm_frame_read_var): Remove inner

3
gdb/configure vendored
View File

@ -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*)

View File

@ -1,3 +1,7 @@
2018-10-04 Tom Tromey <tom@tromey.com>
* configure: Rebuild.
2018-10-04 Tom Tromey <tom@tromey.com>
* server.c (handle_status): Rename inner "thread".

View File

@ -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*)

View File

@ -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*)