This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: fix comment typo
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Stephan Springl <springl-gdb at bfw-online dot de>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 7 Sep 2006 09:24:15 -0700
- Subject: Re: fix comment typo
- References: <Pine.LNX.4.62.0609071425100.22397@lar.bfw.de>
> 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