2007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
* fork-child.c (fork_inferior): Update comment.
This commit is contained in:
parent
05ccab2eea
commit
9dcbb931ab
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
|
||||
|
||||
* fork-child.c (fork_inferior): Update comment.
|
||||
|
||||
2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* features/Makefile: Generate regformats for mips-linux and
|
||||
|
|
|
@ -336,11 +336,9 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env,
|
|||
environ = env;
|
||||
|
||||
/* If we decided above to start up with a shell, we exec the
|
||||
shell, "-c" says to interpret the next arg as a shell command
|
||||
to execute, and this command is "exec <target-program>
|
||||
<args>". "-f" means "fast startup" to the c-shell, which
|
||||
means don't do .cshrc file. Doing .cshrc may cause fork/exec
|
||||
events which will confuse debugger start-up code. */
|
||||
shell, "-c" says to interpret the next arg as a shell command
|
||||
to execute, and this command is "exec <target-program>
|
||||
<args>". */
|
||||
if (shell)
|
||||
{
|
||||
execlp (shell_file, shell_file, "-c", shell_command, (char *) 0);
|
||||
|
|
Loading…
Reference in a new issue