From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3353 invoked by alias); 26 Sep 2003 17:50:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3346 invoked from network); 26 Sep 2003 17:50:47 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 26 Sep 2003 17:50:47 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id 26821CB2F; Fri, 26 Sep 2003 10:50:47 -0700 (PDT) To: gdb Subject: Re: core files in testsuite directory References: <20030926174558.GA23276@nevyn.them.org> From: David Carlton Date: Fri, 26 Sep 2003 18:12:00 -0000 In-Reply-To: <20030926174558.GA23276@nevyn.them.org> (Daniel Jacobowitz's message of "Fri, 26 Sep 2003 13:45:59 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-09/txt/msg00325.txt.bz2 On Fri, 26 Sep 2003 13:45:59 -0400, Daniel Jacobowitz said: > On Fri, Sep 26, 2003 at 09:44:06AM -0700, David Carlton wrote: >> * What should the new cleanup function do? Should it just try to >> remove core.*? Or should it be passed the PID of the process in >> question, and only try to remove core.PID and core? > Check um... corefile.exp? Which does the former, I believe. Yeah, but it's a special case: it runs in a subdirectory to make cleanups easier. It looks for core.* but only uses it if there's exactly one match for the regexp; that makes using that regexp safe, but I don't think the single match restriction would work well in general. David Carlton carlton@kealia.com