diff options
author | Vsevolod Alekseyev <sevaa@sprynet.com> | 2023-09-25 18:01:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-09-25 18:01:31 +0100 |
commit | 84102ebc29a1ea531e7fe78bd841bfb2fe501dc2 (patch) | |
tree | da8fc78b24334c52151e25d701266b023a109021 /binutils/dwarf.h | |
parent | 35d21ea02d6543b33a45826195305b3eb626c706 (diff) | |
download | binutils-84102ebc29a1ea531e7fe78bd841bfb2fe501dc2.zip binutils-84102ebc29a1ea531e7fe78bd841bfb2fe501dc2.tar.gz binutils-84102ebc29a1ea531e7fe78bd841bfb2fe501dc2.tar.bz2 |
Fix readelf's display of dwarf v5 range lists
PR 30792
* dwarf.h (struct debug_info): Remove range_versions field.
* dwarf.c (fetch_indexed_offset): New function. (read_and_display_attr_value): Use it for DW_FORM_rnglistx. Remove code to initialise range_versions. (skip_attribute): New function. (read_bases): Read and reccord all range and address bases in a CU. (process_debug_info): Call read_bases. (display_debug_rnglists): Rename to display_debug_rnglists_unit_header and only display the range list header information. (display_debug_ranges): Adjust.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 61c4158..d2f9523 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -189,7 +189,6 @@ typedef struct /* List of .debug_ranges offsets seen in this .debug_info. */ uint64_t * range_lists; - unsigned int * range_versions; unsigned int num_range_lists; unsigned int max_range_lists; uint64_t rnglists_base; |