]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dtrace-probe.c
Use bfd_get_filename throughout gdb
[thirdparty/binutils-gdb.git] / gdb / dtrace-probe.c
index c452ac9b476c5f84dfc2326d709075f25939da60..ce96037be21fe210b8462ad65e0b18121d0c2618 100644 (file)
@@ -860,7 +860,7 @@ dtrace_static_probe_ops::get_probes
          else
            complaint (_("could not obtain the contents of"
                         "section '%s' in objfile `%s'."),
-                      sect->name, abfd->filename);
+                      bfd_section_name (sect), bfd_get_filename (abfd));
 
          xfree (dof);
        }