From 8ab1f94d63b7ac57e7236dbd77e9d1467d7c9810 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 28 Feb 2011 04:33:26 +0000 Subject: [PATCH] add FALLTHROUGH comment in ada-exp.y:write_object_renaming gdb/ChangeLog: From Michael Snyder * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. --- gdb/ChangeLog | 5 +++++ gdb/ada-exp.y | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 041543b310..682c9f1b35 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-02-28 Joel Brobecker + + From Michael Snyder + * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. + 2011-02-27 Michael Snyder * objc-lang.c (selectors_info): Prevent string overrun. diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index e56b7bcb28..e64d1eb456 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -920,6 +920,7 @@ write_object_renaming (struct block *orig_left_context, break; case 'L': slice_state = LOWER_BOUND; + /* FALLTHROUGH */ case 'S': renaming_expr += 1; if (isdigit (*renaming_expr))