diff options
author | Alan Modra <amodra@gmail.com> | 2014-12-10 14:06:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-12-10 15:30:54 +1030 |
commit | fa15f18deaf6f48e0b415ad3e8864de0b1cf6a39 (patch) | |
tree | a7dd56d73cad3ba8b65517a83d77d054a2fc99dc /bfd/vms-misc.c | |
parent | 4673aa7850ee7a8a806a9e61f531c8dd88f70325 (diff) | |
download | gdb-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