doc/gdbinv-s.m4.in: remove text on special procedures to continue after
[deliverable/binutils-gdb.git] / gdb / inftarg.c
index ce64437f766a77fca0411d9995c51fa9206bf950..9e3f72980b1e3e6320bb17296f8af9b4a355652a 100644 (file)
@@ -123,6 +123,8 @@ child_prepare_to_store ()
 /* Convert data from raw format for register REGNUM
    to virtual format for register REGNUM.  */
 
+/* Some machines won't need to use regnum.  */
+/* ARGSUSED */
 void
 host_convert_to_virtual (regnum, from, to)
      int regnum;
@@ -135,6 +137,7 @@ host_convert_to_virtual (regnum, from, to)
 /* Convert data from virtual format for register REGNUM
    to raw format for register REGNUM.  */
 
+/* ARGSUSED */
 void
 host_convert_from_virtual (regnum, from, to)
      int regnum;
@@ -153,9 +156,19 @@ child_files_info ()
          attach_flag? "attached": "child", inferior_pid);
 }
 
+/* ARGSUSED */
+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.023445 seconds and 4 git commands to generate.