aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-06-19 00:37:18 +0000
committerDoug Evans <dje@google.com>2012-06-19 00:37:18 +0000
commit49f6c8397d2fc0daf0bad3b832388a36feceb6c6 (patch)
tree3a2562a1df6c714b92441fec04346091a7b0f7ca /gdb/dwarf2expr.h
parente48f889115297c38fc5bec3a237d5f8855e65369 (diff)
downloadgdb-49f6c8397d2fc0daf0bad3b832388a36feceb6c6.zip
gdb-49f6c8397d2fc0daf0bad3b832388a36feceb6c6.tar.gz
gdb-49f6c8397d2fc0daf0bad3b832388a36feceb6c6.tar.bz2
* dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
Adjust address for DW_OP_GNU_addr_index. * dwarf2expr.h (dwarf_expr_context): Update comment. * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, all callers updated. Handle TLS vars described with DW_OP_GNU_const_index. (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index and DW_OP_GNU_const_index. * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.
Diffstat (limited to 'gdb/dwarf2expr.h')
-rw-r--r--gdb/dwarf2expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h
index da3a5bb..db49b9c 100644
--- a/gdb/dwarf2expr.h
+++ b/gdb/dwarf2expr.h
@@ -158,7 +158,7 @@ struct dwarf_expr_context
context and operations depending on DW_FORM_ref_addr are not allowed. */
int ref_addr_size;
- /* Offset used to relocate DW_OP_addr argument. */
+ /* Offset used to relocate DW_OP_addr and DW_OP_GNU_addr_index arguments. */
CORE_ADDR offset;
/* An opaque argument provided by the caller, which will be passed