* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
[deliverable/binutils-gdb.git] / bfd / hppabsd-core.c
index 2ad27351b8a574fcedab93466a48e102712c0abf..b17acc699fcd925374674e03baa624a03bf8ef26 100644 (file)
@@ -140,6 +140,8 @@ hppabsd_core_core_file_p (abfd)
     FILE *stream = bfd_cache_lookup (abfd);
     struct stat statbuf;
 
+    if (stream == NULL)
+      return NULL;
     if (fstat (fileno (stream), &statbuf) < 0)
       {
        bfd_set_error (bfd_error_system_call);
This page took 0.024482 seconds and 4 git commands to generate.