forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
committed by
Nick Clifton
parent
35d21ea02d
commit
84102ebc29
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user