* inftarg.c (child_open), remote-vx{,.68}.c (vx_proc_open):
[deliverable/binutils-gdb.git] / gdb / inftarg.c
index ce64437f766a77fca0411d9995c51fa9206bf950..5b52fda0a62d8893ce7ef2b114615d008e2612e5 100644 (file)
@@ -153,9 +153,18 @@ child_files_info ()
          attach_flag? "attached": "child", inferior_pid);
 }
 
+static void
+child_open (arg, from_tty)
+     char *arg;
+     int from_tty;
+{
+  error ("Use the \"run\" command to start a Unix child process.");
+}
+
 struct target_ops child_ops = {
        "child", "Unix child process",
-       0, 0,  /* open, close */
+       "Unix child process (started by the \"run\" command).",
+       child_open, 0,  /* open, close */
        child_attach, child_detach, 
        child_resume,
        child_wait,
This page took 0.022417 seconds and 4 git commands to generate.