libbacktrace: read symbol table of debuginfo file (36cfdc1)

This commit is contained in:
Bartosz Taudul 2024-03-13 00:20:14 +01:00
parent a4eecd508d
commit a9feb75bdf
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -6891,7 +6891,7 @@ elf_add (struct backtrace_state *state, const char *filename, int descriptor,
if (symtab_shndx == 0)
symtab_shndx = dynsym_shndx;
if (symtab_shndx != 0 && !debuginfo)
if (symtab_shndx != 0)
{
const b_elf_shdr *symtab_shdr;
unsigned int strtab_shndx;