From: Tom Tromey Date: Thu, 5 Apr 2018 22:01:36 +0000 (-0600) Subject: Add fall-through comment to i386-tdep.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da0e15638de59238ad811cdc3cc1d1a7803829c7;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e767c07b1d..aad783096d2 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 b359254c75f..646f305edc5 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) {