aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-27 21:33:10 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-27 21:33:10 +0000
commit2a589cef7917d96d8ed313c45909722a7dc9ec99 (patch)
tree8e67a23e50b99bbd8cf98f52746cd22a3df3c6ee /gdb/gdbserver
parent7d48863994082180cf61f25797a553f7cddcd311 (diff)
downloadgdb-2a589cef7917d96d8ed313c45909722a7dc9ec99.zip
gdb-2a589cef7917d96d8ed313c45909722a7dc9ec99.tar.gz
gdb-2a589cef7917d96d8ed313c45909722a7dc9ec99.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog3
-rw-r--r--gdb/gdbserver/i386-low.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index a8479b8..2a384db 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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
diff --git a/gdb/gdbserver/i386-low.c b/gdb/gdbserver/i386-low.c
index 47268e7..1baa23d 100644
--- a/gdb/gdbserver/i386-low.c
+++ b/gdb/gdbserver/i386-low.c
@@ -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);