mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-11 18:27:00 +08:00
* dwarf2read.c (try_open_dwo_file): use gdb_bfd_open.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-07-18 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (try_open_dwo_file): use gdb_bfd_open.
|
||||||
|
|
||||||
2012-07-18 Tom Tromey <tromey@redhat.com>
|
2012-07-18 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* gdb_bfd.c (struct gdb_bfd_data): New.
|
* gdb_bfd.c (struct gdb_bfd_data): New.
|
||||||
|
@ -8115,7 +8115,7 @@ try_open_dwo_file (const char *file_name)
|
|||||||
if (desc < 0)
|
if (desc < 0)
|
||||||
return NULL;
|
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)
|
if (!sym_bfd)
|
||||||
{
|
{
|
||||||
xfree (absolute_name);
|
xfree (absolute_name);
|
||||||
|
Reference in New Issue
Block a user