Associate dummy_frame with ptid
[deliverable/binutils-gdb.git] / gdb / inf-ptrace.c
index cc4921bda4ec37716b049556cf874a0b9fa26038..e1d64f8cd7eec08e7e88a40bd2535acc0076ab91 100644 (file)
@@ -174,16 +174,14 @@ inf_ptrace_mourn_inferior (struct target_ops *ops)
      only report its exit status to its original parent.  */
   waitpid (ptid_get_pid (inferior_ptid), &status, 0);
 
-  generic_mourn_inferior ();
-
-  inf_child_maybe_unpush_target (ops);
+  inf_child_mourn_inferior (ops);
 }
 
 /* Attach to the process specified by ARGS.  If FROM_TTY is non-zero,
    be chatty about it.  */
 
 static void
-inf_ptrace_attach (struct target_ops *ops, char *args, int from_tty)
+inf_ptrace_attach (struct target_ops *ops, const char *args, int from_tty)
 {
   char *exec_file;
   pid_t pid;
This page took 0.024762 seconds and 4 git commands to generate.