aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-frv.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
commit9f76c2cd1768b3125949139c0c9a745a5ec5205b (patch)
tree0df002fa931d1e182d2f83f979d8b1a794a6049e /gdb/solib-frv.c
parent26585198a17552fde8fa6387586978be9e7a7201 (diff)
downloadfsf-binutils-gdb-9f76c2cd1768b3125949139c0c9a745a5ec5205b.zip
fsf-binutils-gdb-9f76c2cd1768b3125949139c0c9a745a5ec5205b.tar.gz
fsf-binutils-gdb-9f76c2cd1768b3125949139c0c9a745a5ec5205b.tar.bz2
* 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-frv.c')
-rw-r--r--gdb/solib-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 4647b95..48be77d 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -648,7 +648,7 @@ enable_break2 (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)
{