This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] i386-tdep.c, i386_process_record, document fall-through case.
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Hui Zhu <teawater at gmail dot com>
- Date: Wed, 02 Mar 2011 14:34:21 -0800
- Subject: [RFA] i386-tdep.c, i386_process_record, document fall-through case.
Hui, is this right?
Thanks,
Michael
2011-03-02 Michael Snyder <msnyder@vmware.com>
* i386-tdep.c (i386_process_record): Document fall through.
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.324
diff -u -p -u -p -r1.324 i386-tdep.c
--- i386-tdep.c 8 Feb 2011 14:01:47 -0000 1.324
+++ i386-tdep.c 2 Mar 2011 22:31:15 -0000
@@ -4543,6 +4543,7 @@ Do you want to stop the program?"),
ir.addr -= 1;
goto no_support;
}
+ /* ELSE FALL THROUGH */
case 0x0fb2: /* lss Gv */
case 0x0fb4: /* lfs Gv */
case 0x0fb5: /* lgs Gv */