Code cleanup: Add objfile_name accessor
[deliverable/binutils-gdb.git] / gdb / dbxread.c
index 283b87feca75b5259f992e52e5e3aa8aa00862ba..8188718130a9a4637d6296ec11bd1369397ad468 100644 (file)
@@ -553,7 +553,7 @@ dbx_symfile_read (struct objfile *objfile, int symfile_flags)
 
   val = bfd_seek (sym_bfd, DBX_SYMTAB_OFFSET (objfile), SEEK_SET);
   if (val < 0)
-    perror_with_name (objfile->name);
+    perror_with_name (objfile_name (objfile));
 
   /* Size the symbol table.  */
   if (objfile->global_psymbols.size == 0 && objfile->static_psymbols.size == 0)
This page took 0.031351 seconds and 4 git commands to generate.