OSDN Git Service

2011-02-26 Michael Snyder <msnyder@vmware.com>
authormsnyder <msnyder>
Sun, 27 Feb 2011 07:04:50 +0000 (07:04 +0000)
committermsnyder <msnyder>
Sun, 27 Feb 2011 07:04:50 +0000 (07:04 +0000)
* i386-nat.c (i386_length_and_rw_bits): Document that case
statement is meant to fall through.

gdb/ChangeLog
gdb/i386-nat.c

index 61797e1..a28925e 100644 (file)
@@ -1,5 +1,8 @@
 2011-02-26  Michael Snyder  <msnyder@vmware.com>
 
+       * i386-nat.c (i386_length_and_rw_bits): Document that case
+       statement is meant to fall through.
+
        * expprint.c (dump_subexp_body_standard): Document that case
        statement is meant to fall through.
 
index 0606ce1..7e6814e 100644 (file)
@@ -297,6 +297,7 @@ Invalid hardware breakpoint type %d in i386_length_and_rw_bits.\n"),
       case 8:
         if (TARGET_HAS_DR_LEN_8)
          return (DR_LEN_8 | rw);
+       /* ELSE FALL THROUGH */
       default:
        internal_error (__FILE__, __LINE__, _("\
 Invalid hardware breakpoint length %d in i386_length_and_rw_bits.\n"), len);