aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-09-11 23:11:34 +0000
committerDoug Evans <dje@google.com>2009-09-11 23:11:34 +0000
commit411c71a82faa92489fef32e0f6934ab609be98c2 (patch)
tree7805440c3c2440e5d6aa69d4e4a653dd87a14b6a /gdb
parentc1bd65d04220ff6e4a7356d4c2b8a16f9f3e3218 (diff)
downloadgdb-411c71a82faa92489fef32e0f6934ab609be98c2.zip
gdb-411c71a82faa92489fef32e0f6934ab609be98c2.tar.gz
gdb-411c71a82faa92489fef32e0f6934ab609be98c2.tar.bz2
* dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused
local addr_or_regnum.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/dwarf2expr.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4bf160a..80d33ac 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2009-09-11 Doug Evans <dje@google.com>
+ * dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused
+ local addr_or_regnum.
+
* objfiles.c (struct objfile_data): Delete member cleanup and replace
with save, free.
(register_objfile_data_with_cleanup): Delete arg cleanup and replace
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index 1ff7c3f..2b0f585 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -794,7 +794,6 @@ execute_stack_op (struct dwarf_expr_context *ctx,
case DW_OP_piece:
{
ULONGEST size;
- CORE_ADDR addr_or_regnum;
/* Record the piece. */
op_ptr = read_uleb128 (op_ptr, op_end, &size);