diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-09-09 10:18:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2010-09-09 10:18:12 +0000 |
commit | b7807392f042c1bb9f3acdc73c285aa138fd8cb1 (patch) | |
tree | 52a927058576ea0cbfdeaacd90fdc33df4067630 /binutils/dwarf.h | |
parent | 7326c758fd67de5fdaf703c4d24454692e8113e4 (diff) | |
download | binutils-b7807392f042c1bb9f3acdc73c285aa138fd8cb1.zip binutils-b7807392f042c1bb9f3acdc73c285aa138fd8cb1.tar.gz binutils-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 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index a9b501f..df90ae0 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -1,5 +1,5 @@ /* dwarf.h - DWARF support header file - Copyright 2005, 2007, 2008, 2009 + Copyright 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -84,6 +84,8 @@ extern struct dwarf_section_display debug_displays []; typedef struct { unsigned int pointer_size; + unsigned int offset_size; + int dwarf_version; unsigned long cu_offset; unsigned long base_address; /* This is an array of offsets to the location list table. */ |