From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84213 invoked by alias); 21 Apr 2018 18:31:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 83794 invoked by uid 89); 21 Apr 2018 18:31:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:728 X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.196.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 21 Apr 2018 18:31:02 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 7E3C4400DD0A3 for ; Sat, 21 Apr 2018 13:31:01 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 9xHpf851gWCOC9xHpf3JUe; Sat, 21 Apr 2018 13:31:01 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:50954 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1f9xHp-002rFx-9i; Sat, 21 Apr 2018 13:31:01 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 5/9] Add fall-through comment to i386-tdep.c Date: Sat, 21 Apr 2018 18:31:00 -0000 Message-Id: <20180421183056.29292-6-tom@tromey.com> In-Reply-To: <20180421183056.29292-1-tom@tromey.com> References: <20180421183056.29292-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1f9xHp-002rFx-9i X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya.Home) [97.122.176.117]:50954 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-04/txt/msg00421.txt.bz2 This adds a fall-through comment in i386-tdep.c. I am not sure if this should be a fall-through or a break (it's possible even that it does not matter), so I elected to preserve the status quo. ChangeLog 2018-04-21 Tom Tromey * i386-tdep.c (i386_process_record): Add fall-through comment. --- gdb/ChangeLog | 4 ++++ gdb/i386-tdep.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index bf4ca54303..8ab7b005b8 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -7130,6 +7130,7 @@ Do you want to stop the program?"), else if (ir.rm == 1) break; } + /* Fall through. */ case 3: /* lidt */ if (ir.mod == 3) { -- 2.13.6