Code cleanup: Add objfile_name accessor
[deliverable/binutils-gdb.git] / gdb / minidebug.c
index a33628a18b6f431e8159421414ec7c275504868a..385566aeca1678f279f4ef736fa2351e8d612588 100644 (file)
@@ -269,8 +269,8 @@ find_separate_debug_file_in_section (struct objfile *objfile)
     return NULL;
 
 #ifdef HAVE_LIBLZMA
-  abfd = gdb_bfd_openr_iovec (objfile->name, gnutarget, lzma_open, section,
-                             lzma_pread, lzma_close, lzma_stat);
+  abfd = gdb_bfd_openr_iovec (objfile_name (objfile), gnutarget, lzma_open,
+                             section, lzma_pread, lzma_close, lzma_stat);
   if (abfd == NULL)
     return NULL;
 
This page took 0.029855 seconds and 4 git commands to generate.