aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-10-04 13:30:09 +0930
committerAlan Modra <amodra@gmail.com>2024-10-04 17:47:21 +0930
commit0c13ac533e59589793ee6c8045cff98663f3ea85 (patch)
tree2c9f6a2e80735a8f65dcb43f5ee733cde1f672b1 /gdb/annotate.h
parent265757dc6e4d011a1b33ef1b3bfcd7f100f12f64 (diff)
downloadgdb-0c13ac533e59589793ee6c8045cff98663f3ea85.zip
gdb-0c13ac533e59589793ee6c8045cff98663f3ea85.tar.gz
gdb-0c13ac533e59589793ee6c8045cff98663f3ea85.tar.bz2
get_synthetic_symtab fixes for commit 68bbe1183379
Given that relocation symbol name can now be NULL for ELF, adjust various get_synthetic_symtab routines so they don't segfault. * elf.c (_bfd_elf_get_synthetic_symtab): Cope with sym->name possibly being NULL. * elf32-arm.c (elf32_arm_get_synthetic_symtab): Likewise. * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Likewise. * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise. * elfxx-mips.c (_bfd_mips_elf_get_synthetic_symtab): Likewise. * elfxx-x86.c (_bfd_x86_elf_get_synthetic_symtab): Likewise.
Diffstat (limited to 'gdb/annotate.h')
0 files changed, 0 insertions, 0 deletions