Date: Sat, 24 Jan 2015 20:25:22 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r277656 - head/contrib/gdb/gdb Message-ID: <201501242025.t0OKPM1p073665@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <jimb@redhat.com> * 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501242025.t0OKPM1p073665>