https://sourceware.org/bugzilla/show_bug.cgi?id=27202
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <amo...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fba9460f7cc1d6de1b7b647dd1e149f40733a87c commit fba9460f7cc1d6de1b7b647dd1e149f40733a87c Author: Alan Modra <amo...@gmail.com> Date: Sat Sep 25 10:52:05 2021 +0930 PR27202, readelf -wL doesn't work on ".loc 0" For DWARF revision 4 and earlier, display_debug_lines_decoded populates the file_table array with entries read from .debug_line after the directory table. file_table[0] contains the first entry. DWARF rev 4 line number programs index this entry as file number one. DWARF revision 5 changes .debug_line format quite extensively, and in particular gives file number zero a meaning. PR 27202 * dwarf.c (display_debug_lines_decoded): Correct indexing used for DWARF5 files. -- You are receiving this mail because: You are on the CC list for the bug.