From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2966 invoked by alias); 23 Sep 2004 17:58:33 -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 2957 invoked from network); 23 Sep 2004 17:58:33 -0000 Received: from unknown (HELO blount.mail.mindspring.net) (207.69.200.226) by sourceware.org with SMTP; 23 Sep 2004 17:58:33 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1CAXrT-0007IB-00; Thu, 23 Sep 2004 13:58:31 -0400 Received: from mindspring.com (unknown [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id CDAC44B102; Thu, 23 Sep 2004 12:01:34 -0400 (EDT) Date: Thu, 23 Sep 2004 17:58:00 -0000 From: Michael Chastain To: gdb-patches@sources.redhat.com, cagney@gnu.org Subject: Re: [rfa/testsuite] Get the inferior to dump core Message-ID: <4152F35E.nail1HN1VVA80@mindspring.com> References: <414EE841.7080908@gnu.org> In-Reply-To: <414EE841.7080908@gnu.org> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00378.txt.bz2 This patch is approved. I had wondered about that technique of bigcore.exp, it surprised me a bit when I saw that it was making two runs of the inferior. > Is this ok? I just wonder if it should be generalized and moved to > gdb.exp, I guess that should be a separate pass. I don't know exactly what "it" is referring to, but a separate pass for moving "it" to gdb.exp sounds good to me. I like what corefile.exp tries to do. It creates a unique subdirectory and runs the target program in the subdirectory so that the core file is easy to find. It suffers from build != host problems though. Michael === 2004-09-20 Andrew Cagney * gdb.base/bigcore.exp: Replace the code that creates a corefile from a separate process with code that creates a corefile by making the inferior dump core.