aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-06-13 19:05:00 +0000
committerDaniel Jacobowitz <drow@false.org>2007-06-13 19:05:00 +0000
commit9dcbb931ab048a661c5301b16d8afafbdee5ff87 (patch)
treeb0e7d5548396efc86c8529d88952dc4dc2b9a8b2 /gdb/fork-child.c
parent05ccab2eea572fdef974e4aa15f7d99da12b00d9 (diff)
downloadgdb-9dcbb931ab048a661c5301b16d8afafbdee5ff87.zip
gdb-9dcbb931ab048a661c5301b16d8afafbdee5ff87.tar.gz
gdb-9dcbb931ab048a661c5301b16d8afafbdee5ff87.tar.bz2
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 37fe927..c9b3c96 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);