summaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r--gdb/mipsread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 868b13f643..def7f5ae33 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -67,7 +67,7 @@ mipscoff_symfile_init (struct objfile *objfile)
static void
mipscoff_symfile_read (struct objfile *objfile, symfile_add_flags symfile_flags)
{
- bfd *abfd = objfile->obfd;
+ bfd *abfd = objfile->obfd.get ();
minimal_symbol_reader reader (objfile);
@@ -175,7 +175,7 @@ static void
read_alphacoff_dynamic_symtab (minimal_symbol_reader &reader,
struct objfile *objfile)
{
- bfd *abfd = objfile->obfd;
+ bfd *abfd = objfile->obfd.get ();
struct alphacoff_dynsecinfo si;
int sym_count;
int i;