constify error_no_arg
[deliverable/binutils-gdb.git] / gdb / nto-procfs.c
index 8a241a8a5d2faa3ece9ff8a4e7cf7c878622953a..728d6f3a76d9f0b8e81b58ad63749a9a383f8839 100644 (file)
@@ -602,7 +602,7 @@ procfs_files_info (struct target_ops *ignore)
 
 /* Attach to process PID, then initialize for debugging it.  */
 static void
-procfs_attach (struct target_ops *ops, char *args, int from_tty)
+procfs_attach (struct target_ops *ops, const char *args, int from_tty)
 {
   char *exec_file;
   int pid;
@@ -1027,8 +1027,7 @@ procfs_mourn_inferior (struct target_ops *ops)
     }
   inferior_ptid = null_ptid;
   init_thread_list ();
-  generic_mourn_inferior ();
-  inf_child_maybe_unpush_target (ops);
+  inf_child_mourn_inferior (ops);
 }
 
 /* This function breaks up an argument string into an argument
This page took 0.023388 seconds and 4 git commands to generate.