From 96643e35c077ed36c74b231ceefa4c30b3b02e28 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 21 Apr 2018 16:09:10 -0600 Subject: 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. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/configure | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/gdbserver') diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5e35062..da4c24f 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,9 @@ 2018-10-04 Tom Tromey + * configure: Rebuild. + +2018-10-04 Tom Tromey + * 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) diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 4384665..a46b865 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*) -- cgit v1.1