[RFA,5/9] Add fall-through comment to i386-tdep.c

Message ID 20180421183056.29292-6-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey April 21, 2018, 6:30 p.m. UTC
  This adds a fall-through comment in i386-tdep.c.  I am not sure if
this should be a fall-through or a break (it's possible even that it
does not matter), so I elected to preserve the status quo.

ChangeLog
2018-04-21  Tom Tromey  <tom@tromey.com>

	* i386-tdep.c (i386_process_record): Add fall-through comment.
---
 gdb/ChangeLog   | 4 ++++
 gdb/i386-tdep.c | 1 +
 2 files changed, 5 insertions(+)
  

Patch

diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index bf4ca54303..8ab7b005b8 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -7130,6 +7130,7 @@  Do you want to stop the program?"),
 	      else if (ir.rm == 1)
 		break;
 	    }
+	  /* Fall through.  */
 	case 3:  /* lidt */
 	  if (ir.mod == 3)
 	    {