* dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index 8801fb18f869ec27f7c8d12b1570a2b847d97159..72e31e70916d8ab54fff9806be3c1aca1c32ba3d 100644 (file)
@@ -15301,7 +15301,7 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir)
     error (_("Cannot use an index to create the index"));
 
   if (stat (objfile->name, &st) < 0)
-    perror_with_name (_("Could not stat"));
+    perror_with_name (objfile->name);
 
   filename = concat (dir, SLASH_STRING, lbasename (objfile->name),
                     INDEX_SUFFIX, (char *) NULL);
This page took 0.02852 seconds and 4 git commands to generate.