aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-misc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-12-10 14:06:42 +1030
committerAlan Modra <amodra@gmail.com>2014-12-10 15:30:54 +1030
commitfa15f18deaf6f48e0b415ad3e8864de0b1cf6a39 (patch)
treea7dd56d73cad3ba8b65517a83d77d054a2fc99dc /bfd/vms-misc.c
parent4673aa7850ee7a8a806a9e61f531c8dd88f70325 (diff)
downloadgdb-fa15f18deaf6f48e0b415ad3e8864de0b1cf6a39.zip
gdb-fa15f18deaf6f48e0b415ad3e8864de0b1cf6a39.tar.gz
gdb-fa15f18deaf6f48e0b415ad3e8864de0b1cf6a39.tar.bz2
Don't access elf tdata in dwarf.c without first checking for an ELF bfd
_bfd_dwarf2_find_nearest_line may be called on a COFF bfd. * dwarf2.c (read_address): Check bfd_target_elf_flavour before calling get_elf_backend_data. (_bfd_dwarf2_find_nearest_line): Fix parens.
Diffstat (limited to 'bfd/vms-misc.c')
0 files changed, 0 insertions, 0 deletions