Emit 8 NULs for target section name instead of dumping core when the target
[deliverable/binutils-gdb.git] / gdb / fork-child.c
index ea5c33d8dddd4294eee9611053849be2cb5687a5..147a59fd7728e3f61dfd55e4ab463e61c8cf67f0 100644 (file)
@@ -94,15 +94,9 @@ breakup_args (char *scratch, char **argv)
    or NULL if we should pick one.  Errors reported with error().  */
 
 void
-fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun,
-              pre_trace_fun, shell_file)
-     char *exec_file;
-     char *allargs;
-     char **env;
-     void (*traceme_fun) (void);
-     void (*init_trace_fun) (int);
-     void (*pre_trace_fun) (void);
-     char *shell_file;
+fork_inferior (char *exec_file, char *allargs, char **env,
+              void (*traceme_fun) (void), void (*init_trace_fun) (int),
+              void (*pre_trace_fun) (void), char *shell_file)
 {
   int pid;
   char *shell_command;
@@ -364,7 +358,7 @@ fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun,
      correct program, and are poised at the first instruction of the
      new program.  */
 
-  /* Allow target dependant code to play with the new process.  This might be
+  /* Allow target dependent code to play with the new process.  This might be
      used to have target-specific code initialize a variable in the new process
      prior to executing the first instruction.  */
   TARGET_CREATE_INFERIOR_HOOK (pid);
This page took 0.023592 seconds and 4 git commands to generate.