This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[pushed] dwarf2expr: Remove unused abort_expression label in execute_stack_op
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Mon, 18 Sep 2017 13:09:58 +0200
- Subject: [pushed] dwarf2expr: Remove unused abort_expression label in execute_stack_op
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon dot marchi at ericsson dot com;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
The label abort_expression is unused, so remove it.
gdb/ChangeLog:
* dwarf2expr.c (dwarf_expr_context::execute_stack_op): Remove
label abort_expression.
---
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);
}
--
2.7.4