This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] dwarf2expr: Remove unused abort_expression label in execute_stack_op


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0615127c587253a6386fe49468fd64abf827273e

commit 0615127c587253a6386fe49468fd64abf827273e
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Mon Sep 18 13:09:20 2017 +0200

    dwarf2expr: Remove unused abort_expression label in execute_stack_op
    
    The label abort_expression is unused, so remove it.
    
    gdb/ChangeLog:
    
    	* dwarf2expr.c (dwarf_expr_context::execute_stack_op): Remove
    	label abort_expression.

Diff:
---
 gdb/ChangeLog    | 5 +++++
 gdb/dwarf2expr.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7d2fb49..eb03722 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* dwarf2expr.c (dwarf_expr_context::execute_stack_op): Remove
+	label abort_expression.
+
 2017-09-16  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* common/buffer.c (buffer_xml_printf): Adjust.
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index f5e0e4c..1475d93 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -1402,7 +1402,6 @@ dwarf_expr_context::execute_stack_op (const gdb_byte *op_ptr,
   if (this->location == DWARF_VALUE_IMPLICIT_POINTER)
     add_piece (8 * this->addr_size, 0);
 
-abort_expression:
   this->recursion_depth--;
   gdb_assert (this->recursion_depth >= 0);
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]