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.
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
declaration of "block".
-Wno-error=deprecated-register \
-Wsuggest-override \
-Wimplicit-fallthrough=3 \
--Wduplicated-cond"
+-Wduplicated-cond \
+-Wshadow=local"
case "${host}" in
*-*-mingw32*)
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".
(process_serial_event): Declare "res" in 'm' case.
* linux-low.c (last_thread_of_process_p, find_lwp_pid)
-Wno-error=deprecated-register \
-Wsuggest-override \
-Wimplicit-fallthrough=3 \
--Wduplicated-cond"
+-Wduplicated-cond \
+-Wshadow=local"
case "${host}" in
*-*-mingw32*)
-Wno-error=deprecated-register \
-Wsuggest-override \
-Wimplicit-fallthrough=3 \
--Wduplicated-cond"
+-Wduplicated-cond \
+-Wshadow=local"
case "${host}" in
*-*-mingw32*)