]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix fall-through comment in windows-nat.c
authorTom Tromey <tom@tromey.com>
Tue, 29 May 2018 03:26:50 +0000 (21:26 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 29 May 2018 20:41:29 +0000 (14:41 -0600)
Now that the mingw builder in the buildbot is working again, it
pointed out a build failure due to a missing fall-through comment in
windows-nat.c.  This patch fixes the problem.

Tested by first triggering the failure with a local mingw build, then
by rebuilding successfully with the patch.

I'm checking this in as obvious.

gdb/ChangeLog
2018-05-29  Tom Tromey  <tom@tromey.com>

* windows-nat.c (handle_exception): Update fall-through comment.

gdb/ChangeLog
gdb/windows-nat.c

index 81e528c5e10e63c08a82bd9d7196515a81de36d9..bec4e04e16107d151b311611a9330137a00f4235 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-29  Tom Tromey  <tom@tromey.com>
+
+       * windows-nat.c (handle_exception): Update fall-through comment.
+
 2018-05-29  Tom Tromey  <tom@tromey.com>
 
        * progspace.h (so_list_ptr): Remove typedef.  Don't declare VEC.
index 965569455875de3d22efca781379805e10884035..608356e74b9a2a6268aac7bccd2baaf80de7e265 100644 (file)
@@ -1253,7 +1253,8 @@ handle_exception (struct target_waitstatus *ourstatus)
          result = HANDLE_EXCEPTION_IGNORED;
          break;
        }
-       /* treat improperly formed exception as unknown, fallthrough */
+       /* treat improperly formed exception as unknown */
+       /* FALLTHROUGH */
     default:
       /* Treat unhandled first chance exceptions specially.  */
       if (current_event.u.Exception.dwFirstChance)