Fix return code in _bfd_dwarf2_find_nearest_line().
authorSteiner H Gunderson <steinar+sourceware@gunderson.no>
Tue, 22 Mar 2022 15:32:32 +0000 (15:32 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 22 Mar 2022 15:32:32 +0000 (15:32 +0000)
commit86ed2a5eaef2d604c163031f4f355d3a8699f3d8
tree39c2fccb29784ce01a84319f4614d63f2b13db6d
parent25209e2c6979c3838e14e099f0333609810db280
Fix return code in _bfd_dwarf2_find_nearest_line().

* dwarf2.c (_bfd_dwarf2_find_nearest_line): if a function name is
found, but no line number info, then return a result of 2.
bfd/ChangeLog
bfd/dwarf2.c