daily update
[deliverable/binutils-gdb.git] / gdb / solib-svr4.c
index f260ba980bf612f5f30cc323e22d881bfd0dd9c8..f96142a8e25dccce0087f98ff56784be468f2e92 100644 (file)
@@ -38,6 +38,7 @@
 #include "gdb_assert.h"
 
 #include "solist.h"
+#include "solib.h"
 #include "solib-svr4.h"
 
 #include "bfd-target.h"
@@ -883,7 +884,7 @@ enable_break (void)
 
       tmp_fd  = solib_open (buf, &tmp_pathname);
       if (tmp_fd >= 0)
-       tmp_bfd = bfd_fdopenr (tmp_pathname, gnutarget, tmp_fd);
+       tmp_bfd = bfd_fopen (tmp_pathname, gnutarget, FOPEN_RB, tmp_fd);
 
       if (tmp_bfd == NULL)
        goto bkpt_at_symbol;
This page took 0.024842 seconds and 4 git commands to generate.