aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-09-25 10:52:05 +0930
committerAlan Modra <amodra@gmail.com>2021-09-29 12:07:37 +0930
commitfba9460f7cc1d6de1b7b647dd1e149f40733a87c (patch)
tree0cde2d068f58757c0db07d81e86a439e111b1a68 /gdb/go-lang.c
parentabe8cab7cb39e5db02d318e56595fa13677b52da (diff)
downloadbinutils-fba9460f7cc1d6de1b7b647dd1e149f40733a87c.zip
binutils-fba9460f7cc1d6de1b7b647dd1e149f40733a87c.tar.gz
binutils-fba9460f7cc1d6de1b7b647dd1e149f40733a87c.tar.bz2
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.
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions