summaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-06-13 19:05:00 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-06-13 19:05:00 +0000
commitf22217d82c037d22b8965f000e32f2228650bbf0 (patch)
tree28224dc87ea108fc9ae3709f1fa54490b91f237f /gdb/fork-child.c
parentfc4fc8e5157afa76de8f5b572f13a385ca508f21 (diff)
downloadgdb-f22217d82c037d22b8965f000e32f2228650bbf0.tar.gz
2007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
* fork-child.c (fork_inferior): Update comment.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 37fe9274b25..c9b3c96057f 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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);