aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-28 21:26:50 -0600
committerTom Tromey <tom@tromey.com>2018-05-29 14:41:29 -0600
commite7ec8713ec12a633fcdfc5524c9ee050389b6f9d (patch)
treec80ce8dd332a6bc7dfdc09175feb78c693d7cba7
parentbcb430e4cd5bcd913813236536031f1fc7f72aee (diff)
downloadgdb-e7ec8713ec12a633fcdfc5524c9ee050389b6f9d.zip
gdb-e7ec8713ec12a633fcdfc5524c9ee050389b6f9d.tar.gz
gdb-e7ec8713ec12a633fcdfc5524c9ee050389b6f9d.tar.bz2
Fix fall-through comment in windows-nat.c
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/windows-nat.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81e528c..bec4e04 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
(struct program_space) <added_solibs>: Now a std::vector.
* breakpoint.c (print_solib_event): Update.
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 9655694..608356e 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -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)