diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-06-13 18:39:11 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-06-13 18:39:11 +0000 |
commit | 9f76c2cd1768b3125949139c0c9a745a5ec5205b (patch) | |
tree | 0df002fa931d1e182d2f83f979d8b1a794a6049e /gdb/symfile.c | |
parent | 26585198a17552fde8fa6387586978be9e7a7201 (diff) | |
download | gdb-9f76c2cd1768b3125949139c0c9a745a5ec5205b.zip gdb-9f76c2cd1768b3125949139c0c9a745a5ec5205b.tar.gz 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/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 7bd3853..43eb28f 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1372,7 +1372,7 @@ symfile_bfd_open (char *name) name = absolute_name; /* Keep 2nd malloc'd copy in bfd */ /* It'll be freed in free_objfile(). */ - sym_bfd = bfd_fdopenr (name, gnutarget, desc); + sym_bfd = bfd_fopen (name, gnutarget, FOPEN_RB, desc); if (!sym_bfd) { close (desc); |