Author: pfg
Date: Sat Jan 24 20:25:21 2015
New Revision: 277656
URL: https://svnweb.freebsd.org/changeset/base/277656

Log:
  MFV:  r277654
  
  gdb: Add missing break statements
  
  2004-05-21  Jim Blandy  <[email protected]>
  
         * dwarf2expr.c (execute_stack_op): Add 'break' statements after
         cases for DW_OP_div and DW_OP_shr.  (Thanks to Reva Cuthbertson.)
  
  Sourceware commit     99c87dab95747d380392a3698740507a21ad3236
  
  CID:  1008254
  MFC after:    4 days

Modified:
  head/contrib/gdb/gdb/dwarf2expr.c
Directory Properties:
  head/contrib/gdb/   (props changed)

Modified: head/contrib/gdb/gdb/dwarf2expr.c
==============================================================================
--- head/contrib/gdb/gdb/dwarf2expr.c   Sat Jan 24 20:18:37 2015        
(r277655)
+++ head/contrib/gdb/gdb/dwarf2expr.c   Sat Jan 24 20:25:21 2015        
(r277656)
@@ -575,6 +575,7 @@ execute_stack_op (struct dwarf_expr_cont
                break;
              case DW_OP_div:
                binop = BINOP_DIV;
+                break;
              case DW_OP_minus:
                binop = BINOP_SUB;
                break;
@@ -595,6 +596,7 @@ execute_stack_op (struct dwarf_expr_cont
                break;
              case DW_OP_shr:
                binop = BINOP_RSH;
+                break;
              case DW_OP_shra:
                binop = BINOP_RSH;
                val1 = value_from_longest (signed_address_type (), first);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to