summaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-06-13 18:39:11 +0000
committerMark Mitchell <mark@codesourcery.com>2005-06-13 18:39:11 +0000
commit7ca0dd74c3227b06633ee8c750210ea80dc2d996 (patch)
tree6250f8f240745fdf42a66ddd7ba3a975cbaa2bb3 /gdb/solib-svr4.c
parent8de98deff59a83cf3013557a99aabf50e7e5d8f0 (diff)
downloadgdb-7ca0dd74c3227b06633ee8c750210ea80dc2d996.tar.gz
* corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
* exec.c (exec_file_attach): Likewise. * solib-frv.c (enable_break2): Likewise. * solib-svr4.c (enable_break): Likewise. * solib.c (solib_map_sections): Likewise. * symfile.c (symfile_bfd_open): Likewise.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index f260ba980bf..828ec7c3168 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -883,7 +883,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;