Use bfd_get_filename throughout gdb
[deliverable/binutils-gdb.git] / gdb / symfile.c
index 01e0726e1eb409cf812827b297502099ddd8dc71..dd8192a67fbba4f40d2b68a3f8e9b0ad86318d50 100644 (file)
@@ -2450,7 +2450,7 @@ reread_symbols (void)
         a `shared library' on AIX is also an archive), then you should
         stat on the archive name, not member name.  */
       if (objfile->obfd->my_archive)
-       res = stat (objfile->obfd->my_archive->filename, &new_statbuf);
+       res = stat (bfd_get_filename (objfile->obfd->my_archive), &new_statbuf);
       else
        res = stat (objfile_name (objfile), &new_statbuf);
       if (res != 0)
This page took 0.024753 seconds and 4 git commands to generate.