diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-26 11:27:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-26 11:27:12 +0000 |
commit | 2cc7bb5dcf9511e6e9ae15aaa7a7e35c32e915c2 (patch) | |
tree | 9d670943d0e0a42f0d5237bb5060995a22580d67 /opcodes/arm-dis.c | |
parent | 08a80eb61929dcabb617e4b660deb64d1b8ade6c (diff) | |
download | gdb-2cc7bb5dcf9511e6e9ae15aaa7a7e35c32e915c2.zip gdb-2cc7bb5dcf9511e6e9ae15aaa7a7e35c32e915c2.tar.gz gdb-2cc7bb5dcf9511e6e9ae15aaa7a7e35c32e915c2.tar.bz2 |
* arm-dis.c (print_insn): Check for a symtab that exists but is empty.
Diffstat (limited to 'opcodes/arm-dis.c')
-rw-r--r-- | opcodes/arm-dis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 9a4eacc..18aad64 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -3989,6 +3989,7 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little) /* First check the full symtab for a mapping symbol, even if there are no usable non-mapping symbols for this address. */ if (info->symtab != NULL + && * info->symtab && bfd_asymbol_flavour (*info->symtab) == bfd_target_elf_flavour) { bfd_vma addr; |