forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user