From: Tom Tromey Date: Wed, 18 Jul 2012 19:53:05 +0000 (+0000) Subject: * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb39779773bd297e43c409d2643e787aaeb6c3e1;p=binutils-gdb.git * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5430d131e6..a200927a62e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-18 Tom Tromey + + * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. + 2012-07-18 Tom Tromey * gdb_bfd.c (struct gdb_bfd_data): New. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 6667c059708..023447f78ef 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -8115,7 +8115,7 @@ try_open_dwo_file (const char *file_name) if (desc < 0) return NULL; - sym_bfd = gdb_bfd_ref (bfd_fopen (absolute_name, gnutarget, FOPEN_RB, desc)); + sym_bfd = gdb_bfd_open (absolute_name, gnutarget, desc); if (!sym_bfd) { xfree (absolute_name);