diff options
author | Nick Clifton <nickc@redhat.com> | 2023-08-23 11:36:25 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-08-23 11:36:25 +0100 |
commit | 589d38af0de46f3325747a9e29e008c79e41e664 (patch) | |
tree | ed52625954a8bf3df776b609664c64c8c4ea8931 /gdb/source-cache.c | |
parent | 3ce8f906be7a55d8c0375e6d360cc53b456d86ae (diff) | |
download | binutils-589d38af0de46f3325747a9e29e008c79e41e664.zip binutils-589d38af0de46f3325747a9e29e008c79e41e664.tar.gz binutils-589d38af0de46f3325747a9e29e008c79e41e664.tar.bz2 |
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.
Diffstat (limited to 'gdb/source-cache.c')
0 files changed, 0 insertions, 0 deletions