inf_ttrace_follow_fork: detach_breakpoints called twice for child.
[binutils-gdb.git] / gdb / solib-pa64.c
index b55b67cff138d8032bb73394e0e967128c110c27..00ed8a549036a1f8c3a5344a7a38a2e5797cf4b7 100644 (file)
@@ -362,7 +362,7 @@ manpage for methods to privately map shared library text."));
         to find any magic formula to find it for Solaris (appears to
         be trivial on GNU/Linux).  Therefore, we have to try an alternate
         mechanism to find the dynamic linker's base address.  */
-      tmp_bfd = gdb_bfd_ref (bfd_openr (buf, gnutarget));
+      tmp_bfd = gdb_bfd_openr (buf, gnutarget);
       if (tmp_bfd == NULL)
        return;