]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix readelf's display of dwarf v5 range lists
authorVsevolod Alekseyev <sevaa@sprynet.com>
Mon, 25 Sep 2023 17:01:31 +0000 (18:01 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Sep 2023 17:01:31 +0000 (18:01 +0100)
commit84102ebc29a1ea531e7fe78bd841bfb2fe501dc2
treeda8fc78b24334c52151e25d701266b023a109021
parent35d21ea02d6543b33a45826195305b3eb626c706
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.
binutils/ChangeLog
binutils/dwarf.c
binutils/dwarf.h