From da0e15638de59238ad811cdc3cc1d1a7803829c7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 5 Apr 2018 16:01:36 -0600 Subject: [PATCH] Add fall-through comment to i386-tdep.c This adds a fall-through comment in i386-tdep.c. I was not sure what to do here, so I elected to preserve the status quo. In review, John Baldwin pointed out that: "I believe this is correct based on the diff that added the special cases for xgetbv and xsetbv as previously ldgt and lidt were treated the same". gdb/ChangeLog 2018-05-04 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/ChangeLog b/gdb/ChangeLog index 8e767c07b1..aad783096d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-05-04 Tom Tromey + + * i386-tdep.c (i386_process_record): Add fall-through comment. + 2018-05-04 Tom Tromey * stabsread.c (define_symbol) : Add fall-through diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index b359254c75..646f305edc 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.34.1