2011-02-27 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sun, 27 Feb 2011 21:33:10 +0000 (21:33 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sun, 27 Feb 2011 21:33:10 +0000 (21:33 +0000)
* i386-low.c (i386-length_and_rw_bits): Comment the fact that
a case statement falls through.

gdb/gdbserver/ChangeLog
gdb/gdbserver/i386-low.c

index a8479b8c0ef8e214f19498cd63b038933744f19a..2a384db304a984333a5bf23c698fa7c2584e5b5f 100644 (file)
@@ -1,5 +1,8 @@
 2011-02-27  Michael Snyder  <msnyder@vmware.com>
 
+       * i386-low.c (i386-length_and_rw_bits): Comment the fact that
+       a case statement falls through.
+
        * linux-low.c (linux_xfer_siginfo): Fix fencepost error.
 
        * linux-amd64-ipa.c (gdb_agent_get_raw_reg): Fix fencepost error
index 47268e7d6c49ca7a0596ed81f8c6afd8e29e23f2..1baa23dd9645e4b0760301472e278b526fd9bdc8 100644 (file)
@@ -243,6 +243,7 @@ Invalid hardware breakpoint type %d in i386_length_and_rw_bits.\n",
        return (DR_LEN_2 | rw);
       case 4:
        return (DR_LEN_4 | rw);
+       /* ELSE FALL THROUGH */
       case 8:
         if (TARGET_HAS_DR_LEN_8)
          return (DR_LEN_8 | rw);