[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/23652] addr2line finds and parses external debug informati
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output |
Date: |
Wed, 27 Nov 2019 08:42:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23652
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7f3bf38453acbabf7286dd7f8ce2688282e7b9cd
commit 7f3bf38453acbabf7286dd7f8ce2688282e7b9cd
Author: Alan Modra <address@hidden>
Date: Wed Nov 27 18:00:59 2019 +1030
PR23652, Use symbols from debug bfd for _bfd_elf_find_function properly
There were a number of problems with the previous patch. Firstly,
_bfd_dwarf2_stash_syms didn't do anything when the original file had
dynamic symbols, and secondly, info found by the symbol search didn't
make it out of _bfd_elf_find_nearest_line except in the case of DWARF
functions without external linkage.
PR 23652
* dwarf2.c (_bfd_dwarf2_stash_syms): Break out of loop on finding
matching section.
(_bfd_dwarf2_find_nearest_line): Return an int, with value 2 when
returning info from the symbol table. Do the _bfd_elf_find_function
search also when !found. Call _bfd_dwarf2_stash_syms regardless of
symbols.
* elf64-alpha.c (elf64_alpha_find_nearest_line): Accept dwarf2
result of 1 only.
* elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise.
* libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
* libbfd.h: Regenerate.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, rafael at espindo dot la, 2019/11/22
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, amodra at gmail dot com, 2019/11/26
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, cvs-commit at gcc dot gnu.org, 2019/11/26
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, amodra at gmail dot com, 2019/11/27
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, amodra at gmail dot com, 2019/11/27
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, rafael at espindo dot la, 2019/11/28
- [Bug binutils/23652] addr2line finds and parses external debug information but does not use the result for its output, amodra at gmail dot com, 2019/11/28