/* Binary File Diddler for the core file. */
-#define core_bfd (current_program_space->cbfd)
-
-/* corelow.c target. It is never NULL after GDB initialization. */
-
-extern struct target_ops *the_core_target;
+#define core_bfd (current_program_space->cbfd.get ())
/* Whether to open exec and core files read-only or read-write. */