https://sourceware.org/bugzilla/show_bug.cgi?id=31735
--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom de Vries <vr...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e548840a038fd6e6bb37a3fb0a14fe4a4ad8ada6 commit e548840a038fd6e6bb37a3fb0a14fe4a4ad8ada6 Author: Tom de Vries <tdevr...@suse.de> Date: Wed May 15 09:45:55 2024 +0200 [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 -- You are receiving this mail because: You are on the CC list for the bug.