binutils-gdb/binutils/testsuite
Tom de Vries e548840a03 [binutils/readelf] Fix handling of DW_MACRO_define_strx in dwo file
When printing a DW_MACRO_define_strx entry in a .debug_macro.dwo section, we
run into:
...
 DW_MACRO_define_strx lineno : 0 macro : <no .debug_str_offsets section>
...

Fix this in display_debug_macro by passing the correct dwo argument to a
fetch_indexed_string call.

That works fine for readelf -w, with with readelf -wm we have:
...
 DW_MACRO_define_strx lineno : 0 macro : <no .debug_str_offsets.dwo section>
...

Fix this in display_debug_macro by doing load_debug_section_with_follow for
str_dwo / str_index_dwo sections instead of str / str_index sections when
handling .debug_macro.dwo.

PR 31735
2024-05-15 09:45:55 +02:00
..
binutils-all [binutils/readelf] Fix handling of DW_MACRO_define_strx in dwo file 2024-05-15 09:45:55 +02:00
config Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
lib elf: Rename is_standard_elf to uses_elf_em 2024-01-26 07:32:03 -08:00
ChangeLog-0411
ChangeLog-1215 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9303
gentestdlls.c Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30