diff options
author | Nick Clifton <nickc@redhat.com> | 2022-06-21 16:37:27 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-06-21 16:37:27 +0100 |
commit | ec41dd75c866599fc03c390c6afb5736c159c0ff (patch) | |
tree | f06cace04555f1f571bf0395b1394dd8349567da /binutils/dwarf.h | |
parent | acd65fa610df09a0954b8fecdadf546215263c5d (diff) | |
download | binutils-gdb-ec41dd75c866599fc03c390c6afb5736c159c0ff.tar.gz |
Binutils support for dwarf-5 (location and range lists related)
* dwarf.h (struct debug_info): Add rnglists_base field.
* dwarf.c (read_and_display_attr_value): Read attribute DW_AT_rnglists_base.
(display_debug_rnglists_list): While handling DW_RLE_base_addressx,
DW_RLE_startx_endx, DW_RLE_startx_length items, pass the proper parameter
value to fetch_indexed_addr(), i.e. fetch the proper entry in .debug_addr section.
(display_debug_ranges): Add rnglists_base to the .debug_rnglists base address.
(load_separate_debug_files): Load .debug_addr section, if exists.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 040e674c6ce..8a89c08e7c2 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -192,6 +192,7 @@ typedef struct dwarf_vma * range_lists; unsigned int num_range_lists; unsigned int max_range_lists; + dwarf_vma rnglists_base; } debug_info; |