aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-09-18 13:09:20 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-09-18 13:09:20 +0200
commit0615127c587253a6386fe49468fd64abf827273e (patch)
tree079e3940b988836a4a365b92f81371d6f8736338 /gdb
parente4114cb89e65c53839d5beb80cec956476ecb5dc (diff)
downloadgdb-0615127c587253a6386fe49468fd64abf827273e.zip
gdb-0615127c587253a6386fe49468fd64abf827273e.tar.gz
gdb-0615127c587253a6386fe49468fd64abf827273e.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2expr.c1
2 files changed, 5 insertions, 1 deletions
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);
}