aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-09-20 11:30:41 +0930
committerAlan Modra <amodra@gmail.com>2021-09-20 11:38:55 +0930
commit5b4846283c3d49138a58a3bb4d61ed3e2dfffff4 (patch)
tree9a3a322a37e0ed2a648a3ce4eecb349beb741f4d /gdb
parent8ac439689f4b0e7d0d03805426ae75fafdb47ad5 (diff)
downloadbinutils-5b4846283c3d49138a58a3bb4d61ed3e2dfffff4.zip
binutils-5b4846283c3d49138a58a3bb4d61ed3e2dfffff4.tar.gz
binutils-5b4846283c3d49138a58a3bb4d61ed3e2dfffff4.tar.bz2
Re: PR28149, debug info with wrong file association
Fixes segfaults when building aarch64-linux kernel, due to only doing part of the work necessary when allocating file numbers late. I'd missed looping over subsegments, which resulted in some u.filename entries left around and later interpreted as u.view. PR 28149 * dwarf2dbg.c (purge_generated_debug): Iterate over subsegs too. (dwarf2_finish): Call do_allocate_filenum for all subsegs too, in a separate loop before subsegs are chained.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions