diff options
author | Nick Clifton <nickc@redhat.com> | 2003-04-18 08:06:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-04-18 08:06:01 +0000 |
commit | 4081944fd18906dd26c21c8bac6aa4f6671bdabf (patch) | |
tree | f564216483db9a24e673e8f46155d4978c50eff7 /bfd/format.c | |
parent | e3ab4aba1ae60c655511f6785913a55ae5e84145 (diff) | |
download | gdb-4081944fd18906dd26c21c8bac6aa4f6671bdabf.zip gdb-4081944fd18906dd26c21c8bac6aa4f6671bdabf.tar.gz gdb-4081944fd18906dd26c21c8bac6aa4f6671bdabf.tar.bz2 |
Only check associated vector if the matching_vector has been created.
Diffstat (limited to 'bfd/format.c')
-rw-r--r-- | bfd/format.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/format.c b/bfd/format.c index 655ccd9..6415b8d 100644 --- a/bfd/format.c +++ b/bfd/format.c @@ -305,7 +305,9 @@ bfd_check_format_matches (abfd, format, matching) } } - if (match_count > 1 && bfd_associated_vector != NULL) + if (match_count > 1 + && bfd_associated_vector != NULL + && matching) { const bfd_target * const *assoc = bfd_associated_vector; |