From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14748 invoked by alias); 7 Sep 2006 16:24:21 -0000 Received: (qmail 14738 invoked by uid 22791); 7 Sep 2006 16:24:21 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Sep 2006 16:24:19 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id 6038348CBE3; Thu, 7 Sep 2006 12:24:17 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21353-01-10; Thu, 7 Sep 2006 12:24:17 -0400 (EDT) Received: from takamaka.act-europe.fr (unknown [70.71.0.212]) by nile.gnat.com (Postfix) with ESMTP id 17F1A48CC18; Thu, 7 Sep 2006 12:24:17 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id E5DE447EFA; Thu, 7 Sep 2006 09:24:15 -0700 (PDT) Date: Thu, 07 Sep 2006 16:24:00 -0000 From: Joel Brobecker To: Stephan Springl Cc: gdb-patches@sourceware.org Subject: Re: fix comment typo Message-ID: <20060907162415.GC1811@adacore.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00032.txt.bz2 > 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 From Stephan Springl * 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