/* Handle Darwin shared libraries for GDB, the GNU Debugger.
- Copyright (C) 2009-2018 Free Software Foundation, Inc.
+ Copyright (C) 2009-2019 Free Software Foundation, Inc.
This file is part of GDB.
gdb_bfd_ref_ptr sub
(gdb_bfd_mach_o_fat_extract (dyld_bfd.get (), bfd_object,
gdbarch_bfd_arch_info (target_gdbarch ())));
- if (sub != NULL)
- dyld_bfd = sub;
- else
- dyld_bfd.release ();
+ dyld_bfd = sub;
}
return dyld_bfd;
}