From 59808b22d21c997f0447b7de6392890a490e23e6 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 9 Sep 2010 10:18:12 +0000 Subject: * dwarf.h (debug_info): Add offset_info and dwarf_version fields. * dwarf.c (decode_location_expression): Add offset_size and dwarf_version arguments. Prefix DIE offset with 0x for DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size, complain if in frame info section. Handle DW_OP_GNU_implicit_pointer. (read_and_display_attr_value, display_debug_loc, display_debug_frames): Adjust decode_location_expression callers. (process_debug_info): Save offset_size and dwarf_version values into debug_information array. * dwarf2.h (DW_OP_GNU_implicit_pointer): New. --- include/dwarf2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/dwarf2.h') diff --git a/include/dwarf2.h b/include/dwarf2.h index 03c25812d..fea23ad61 100644 --- a/include/dwarf2.h +++ b/include/dwarf2.h @@ -622,6 +622,7 @@ enum dwarf_location_atom /* The following is for marking variables that are uninitialized. */ DW_OP_GNU_uninit = 0xf0, DW_OP_GNU_encoded_addr = 0xf1, + DW_OP_GNU_implicit_pointer = 0xf2, /* HP extensions. */ DW_OP_HP_unknown = 0xe0, /* Ouch, the same as GNU_push_tls_address. */ DW_OP_HP_is_value = 0xe1, -- cgit v1.2.3