Add fall-through comment to i386-tdep.c
authorTom Tromey <tom@tromey.com>
Thu, 5 Apr 2018 22:01:36 +0000 (16:01 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 5 May 2018 04:04:46 +0000 (22:04 -0600)
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  <tom@tromey.com>

* i386-tdep.c (i386_process_record): Add fall-through comment.

gdb/ChangeLog
gdb/i386-tdep.c

index 8e767c07b1ddace6b190e147e5b3020a9dcbff8b..aad783096d2d29b343fbf7a98d772b379fda1548 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-04  Tom Tromey  <tom@tromey.com>
+
+       * i386-tdep.c (i386_process_record): Add fall-through comment.
+
 2018-05-04  Tom Tromey  <tom@tromey.com>
 
        * stabsread.c (define_symbol) <case 'p'>: Add fall-through
index b359254c75f092931e297c9613c8a8f50dd76fff..646f305edc5146adfaac9e36a0ff5392682b8867 100644 (file)
@@ -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)
            {
This page took 0.031183 seconds and 4 git commands to generate.