aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-10-16 13:36:03 -0600
committerTom Tromey <tom@tromey.com>2023-11-29 14:29:43 -0700
commitd57f38ec74f12b970f3186ac54a9a0f00bf993c7 (patch)
tree5e93b3e9daf4d71a61304851bc1deb4b3143067d /gdbserver
parentd182e39881061b11d1eb85426d9a6953e3171bf5 (diff)
downloadfsf-binutils-gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.zip
fsf-binutils-gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.tar.gz
fsf-binutils-gdb-d57f38ec74f12b970f3186ac54a9a0f00bf993c7.tar.bz2
Switch to -Wimplicit-fallthrough=5
This changes the various gdb-related directories to use -Wimplicit-fallthrough=5, meaning that only the fallthrough attribute can be used in switches -- special 'fallthrough' comments will no longer be usable. Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdbserver')
-rwxr-xr-xgdbserver/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/configure b/gdbserver/configure
index dc2ecd8..f1292f9 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -13697,7 +13697,7 @@ build_warnings="-Wall -Wpointer-arith \
-Wno-mismatched-tags \
-Wno-error=deprecated-register \
-Wsuggest-override \
--Wimplicit-fallthrough=3 \
+-Wimplicit-fallthrough=5 \
-Wduplicated-cond \
-Wshadow=local \
-Wdeprecated-copy \