Use consistent error messages for missing files.
[deliverable/binutils-gdb.git] / binutils / addr2line.c
index b5f5a0c5f15e615b0738e629fcad0938342fd857..354153eadb13c3e87e2c3c4432cca55eb1ea4550 100644 (file)
@@ -230,6 +230,9 @@ process_file (const char *file_name, const char *target)
   bfd *abfd;
   char **matching;
 
+  if (get_file_size (file_name) < 1)
+    return;
+
   abfd = bfd_openr (file_name, target);
   if (abfd == NULL)
     bfd_fatal (file_name);
This page took 0.027498 seconds and 4 git commands to generate.