From 589d38af0de46f3325747a9e29e008c79e41e664 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 23 Aug 2023 11:36:25 +0100 Subject: readelf/objdump: Handle DWARF info with mixed types of range section. PR 30791 * dwarf.h (debug_info): Add range_versions field. * dwarf.c (read_and_display_attr_value): When recording a range arribute also ecord the dwarf version number. (is_range_list_for_this_section): New function. (display_debug_ranges): Only show debug ranges whose version is suitable for the secction being displayed. --- binutils/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 65cff80..9e6db82 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +2023-08-23 Nick Clifton + + PR 30791 + * dwarf.h (debug_info): Add range_versions field. + * dwarf.c (read_and_display_attr_value): When recording a range + arribute also ecord the dwarf version number. + (is_range_list_for_this_section): New function. + (display_debug_ranges): Only show debug ranges whose version is + suitable for the secction being displayed. + 2023-07-30 Jose E. Marchesi * readelf.c (get_machine_flags): Recognize and pretty print BPF -- cgit v1.1