From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2893 invoked by alias); 27 Nov 2002 18:37:43 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2883 invoked from network); 27 Nov 2002 18:37:40 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 27 Nov 2002 18:37:40 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id F2C473F30; Wed, 27 Nov 2002 13:37:35 -0500 (EST) Message-ID: <3DE510EF.3040900@redhat.com> Date: Wed, 27 Nov 2002 10:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Subject: Re: revamped gdb_mbuild.sh References: <200211271750.gARHox401110@pc960.cambridge.arm.com> <3DE5096F.3080906@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00684.txt.bz2 > On Wed, 27 Nov 2002 13:05:35 -0500, Andrew Cagney said: > > >>>> The new script, once it has successfully configured, built, and run >>>> a target, replaces the BUILDDIR/TARGET directory with a >>>> BUILDDIR/TARGET file (-f removes this, this is how the script knows >>>> to not try to re-do a build). > > >> At present both build and config logs, and the build directory get >> removed. Only architecture output is left. > > >> I think this is ok since, unlike before, the command is restartable. >> If the build fails, just restart it with a more verbose option. > > > Just checking: if the build fails, the logs aren't removed, right? > That's what you seem to be saying above, and that seems to be what the > script does if I'm reading it correctly, but given that I'm not sure I > understand your last paragraph. Yes. If the build fails, nothing, for that build, is removed. The directory is still there, the logs are still there. You can even cd to the corresponding build directory and try finishing the build by hand. The next time the script is run, it will pick up from where you left off. > Certainly I think it would be bad if the logs were deleted if the > build fails, but I don't mind if they're deleted if the build > succeeds. Andrew