[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|--- |2.43 Resolution|--- |FIXED --- Comment #6 from Tom de Vries --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 --- Comment #5 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e548840a038fd6e6bb37a3fb0a14fe4a4ad8ada6 commit e548840a038fd6e6bb37a3fb0a14fe4a4ad8ada6 Author: Tom de Vries 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 : ... 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 : ... 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.
[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 --- Comment #4 from Tom de Vries --- (In reply to Alan Modra from comment #3) > Please apply your fix. Thanks for the review. I've also added a test-case, which made me realize I needed an additional fix for readelf -wm (instead of readelf -w). Submitted here: https://sourceware.org/pipermail/binutils/2024-May/134049.html -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 --- Comment #3 from Alan Modra --- Please apply your fix. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 --- Comment #2 from Tom de Vries --- Created attachment 15519 --> https://sourceware.org/bugzilla/attachment.cgi?id=15519=edit a-hello.dwo.gz -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/31735] [binutils, readelf] debug_str_offsets used, should use debug_str_offsets.dwo
https://sourceware.org/bugzilla/show_bug.cgi?id=31735 --- Comment #1 from Tom de Vries --- Created attachment 15518 --> https://sourceware.org/bugzilla/attachment.cgi?id=15518=edit a.out.gz -- You are receiving this mail because: You are on the CC list for the bug.