aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-09-09 10:18:12 +0000
committerJakub Jelinek <jakub@redhat.com>2010-09-09 10:18:12 +0000
commitb7807392f042c1bb9f3acdc73c285aa138fd8cb1 (patch)
tree52a927058576ea0cbfdeaacd90fdc33df4067630 /include
parent7326c758fd67de5fdaf703c4d24454692e8113e4 (diff)
downloadfsf-binutils-gdb-b7807392f042c1bb9f3acdc73c285aa138fd8cb1.zip
fsf-binutils-gdb-b7807392f042c1bb9f3acdc73c285aa138fd8cb1.tar.gz
fsf-binutils-gdb-b7807392f042c1bb9f3acdc73c285aa138fd8cb1.tar.bz2
* 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.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dwarf2.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 91b2edb..7f3682c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-09 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2.h (DW_OP_GNU_implicit_pointer): New.
+
2010-07-06 Ken Werner <ken.werner@de.ibm.com>
* floatformat.h (floatformat_ieee_half_big): Add declaration.
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 03c2581..fea23ad 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,