aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-12-04 08:23:34 -0700
committerTom Tromey <tromey@adacore.com>2023-12-04 08:23:34 -0700
commit74bbf9359a742233e4eae7a26b5f34e8ea68e642 (patch)
tree92350bc7ca31652d350a07eb910c85e5e6d5435e
parent33ae45434d0ab1f7de365b9140ad4e4ffc34b8a2 (diff)
downloadgdb-74bbf9359a742233e4eae7a26b5f34e8ea68e642.zip
gdb-74bbf9359a742233e4eae7a26b5f34e8ea68e642.tar.gz
gdb-74bbf9359a742233e4eae7a26b5f34e8ea68e642.tar.bz2
Update fall-through comment in gdbserver
I noticed that gdbserver/win32-low.cc has a fall-through comment that should have been converted to use the annotation instead. This patch makes the change.
-rw-r--r--gdbserver/win32-low.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 9c0a885..2711fb3 100644
--- a/gdbserver/win32-low.cc
+++ b/gdbserver/win32-low.cc
@@ -1237,7 +1237,7 @@ win32_process_target::wait (ptid_t ptid, target_waitstatus *ourstatus,
default:
OUTMSG (("Ignoring unknown internal event, %d\n",
ourstatus->kind ()));
- /* fall-through */
+ [[fallthrough]];
case TARGET_WAITKIND_SPURIOUS:
/* do nothing, just continue */
child_continue (continue_status,