Add push_target overload
[deliverable/binutils-gdb.git] / gdb / corelow.c
index 52d6d95b3c07e2dbbfa39e880dddd1d948f301f0..6a29d6a232864add7b835dcd10cc0c73efec07fa 100644 (file)
@@ -417,8 +417,7 @@ core_target_open (const char *arg, int from_tty)
   if (!exec_bfd)
     set_gdbarch_from_file (core_bfd);
 
-  push_target (target);
-  target_holder.release ();
+  push_target (std::move (target_holder));
 
   inferior_ptid = null_ptid;
 
This page took 0.025839 seconds and 4 git commands to generate.