summaryrefslogtreecommitdiff
path: root/binutils/dwarf.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-09-09 10:18:11 +0000
committerJakub Jelinek <jakub@redhat.com>2010-09-09 10:18:11 +0000
commit9e49c592538bebf4d4e233edcee1e0ef8cec3065 (patch)
tree170df76138a10392add05134fbe0cee83693fdb5 /binutils/dwarf.h
parent930613dcf723ca1c0844c517b43ea0bda2e95aea (diff)
downloadbinutils-redhat-9e49c592538bebf4d4e233edcee1e0ef8cec3065.tar.gz
* 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index a9b501f3e7..df90ae0c33 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. */