diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-26 22:04:51 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-26 22:04:51 +0000 |
commit | 8fbf6b93219276c2b0938bbf4d5fa6ab2ef21bc9 (patch) | |
tree | 6c4243ee6f6e4fc3c9d1674dffc479c313efcde7 /gdb | |
parent | cb969d61418104fe280fb0b6cdc210f975e28f16 (diff) | |
download | gdb-8fbf6b93219276c2b0938bbf4d5fa6ab2ef21bc9.zip gdb-8fbf6b93219276c2b0938bbf4d5fa6ab2ef21bc9.tar.gz gdb-8fbf6b93219276c2b0938bbf4d5fa6ab2ef21bc9.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/i386-nat.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 61797e1..a28925e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/i386-nat.c b/gdb/i386-nat.c index 0606ce1..7e6814e 100644 --- a/gdb/i386-nat.c +++ b/gdb/i386-nat.c @@ -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); |