* nrun.c (main): Exit if bfd_openr fails.
authorDoug Evans <dje@google.com>
Wed, 22 Oct 1997 02:12:41 +0000 (02:12 +0000)
committerDoug Evans <dje@google.com>
Wed, 22 Oct 1997 02:12:41 +0000 (02:12 +0000)
Call bfd_check_format after bfd_openr.

sim/common/ChangeLog

index aeb7597..77d62e4 100644 (file)
@@ -1,6 +1,7 @@
 Tue Oct 21 18:37:57 1997  Doug Evans  <devans@canuck.cygnus.com>
 
        * nrun.c (main): Remove useless test of name != NULL.
+       Exit if bfd_openr fails.  Call bfd_check_format after bfd_openr.
 
 Tue Oct 21 10:42:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>