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]

Re: fix comment typo


> while digging into the fact that gdb 6.5 does not close .gdbinit and the 
> child programs binary in the child process before execing, I found a typo.

Thanks Stephan, I committed your patch as obvious. For anything less
obvious we would need a copyright assignment in place, but this is
definitely fine.

2006-09-07  Joel Brobecker  <brobecker@adacore.com>

        From Stephan Springl  <springl-gdb@bfw-online.de>
        * fork-child.c (fork_inferior): Fix typo.

> index 8940151..44049dc 100644
> --- a/gdb/fork-child.c
> +++ b/gdb/fork-child.c
> @@ -277,7 +277,7 @@ #endif
>      (*pre_trace_fun) ();
> 
>    /* Create the child process.  Since the child process is going to
> -     exec(3) shortlty afterwards, try to reduce the overhead by
> +     exec(3) shortly afterwards, try to reduce the overhead by
>       calling vfork(2).  However, if PRE_TRACE_FUN is non-null, it's
>       likely that this optimization won't work since there's too much
>       work to do between the vfork(2) and the exec(3).  This is known


-- 
Joel


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