This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remove obsolete comment


Hello,

there's a comment in gdb/fork-child.c that describes an option '-f'
passed to the forked subshell. The option is not passed anymore, but
the comment has not been updated.

Therefore I suggest the following change.

Bye,

Claudio

--- fork-child.c        2006-09-07 18:22:57.000000000 +0200
+++ fork-child.c.new    2007-05-30 22:06:45.000000000 +0200
@@ -338,9 +338,8 @@
      /* 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.  */
+        <args>". */
+
      if (shell)
       {
         execlp (shell_file, shell_file, "-c", shell_command, (char *) 0);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]