This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] again, document that case stmt fall through is intentional.
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Sat, 26 Feb 2011 14:06:15 -0800
- Subject: [commit] again, document that case stmt fall through is intentional.
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.
Index: i386-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-nat.c,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 i386-nat.c
--- i386-nat.c 9 Jan 2011 03:08:56 -0000 1.32
+++ i386-nat.c 26 Feb 2011 22:04:02 -0000
@@ -297,6 +297,7 @@ Invalid hardware breakpoint type %d in i
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);