* [pushed] Update fall-through comment in gdbserver
@ 2023-12-04 15:24 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-12-04 15:24 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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.
---
gdbserver/win32-low.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdbserver/win32-low.cc b/gdbserver/win32-low.cc
index 9c0a8856ca7..2711fb335f6 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,
--
2.41.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-04 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-04 15:24 [pushed] Update fall-through comment in gdbserver Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).