aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfd-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/bfd-target.c')
-rw-r--r--gdb/bfd-target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/bfd-target.c b/gdb/bfd-target.c
index 6b8a839..9e1b980 100644
--- a/gdb/bfd-target.c
+++ b/gdb/bfd-target.c
@@ -94,10 +94,10 @@ target_bfd::target_bfd (const gdb_bfd_ref_ptr &abfd)
{
}
-target_ops *
+target_ops_up
target_bfd_reopen (const gdb_bfd_ref_ptr &abfd)
{
- return new target_bfd (abfd);
+ return target_ops_up (new target_bfd (abfd));
}
void