Use bfd_get_filename throughout gdb
[deliverable/binutils-gdb.git] / gdb / stap-probe.c
index 4b1a75f8166ea4e11772442033ac42f8294b99e5..73596446cce51d94e789b1ff3584b8fec807b5a1 100644 (file)
@@ -1606,7 +1606,7 @@ get_stap_base_address (bfd *obfd, bfd_vma *base)
     {
       complaint (_("could not obtain base address for "
                                        "SystemTap section on objfile `%s'."),
-                obfd->filename);
+                bfd_get_filename (obfd));
       return 0;
     }
 
This page took 0.025389 seconds and 4 git commands to generate.