From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26069 invoked by alias); 25 Oct 2007 00:41:09 -0000 Received: (qmail 26057 invoked by uid 22791); 25 Oct 2007 00:41:08 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 Oct 2007 00:41:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A2A5A2AB0E6; Wed, 24 Oct 2007 20:41:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c6z7kLHoFpoJ; Wed, 24 Oct 2007 20:41:03 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 658302AB0DE; Wed, 24 Oct 2007 20:41:03 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 40BE8E7AC8; Wed, 24 Oct 2007 17:41:01 -0700 (PDT) Date: Thu, 25 Oct 2007 00:41:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: gdb@sourceware.org, Nicolas Bonifas Subject: Re: Should we install gcore.sh (and a gcore.1 man page)? Message-ID: <20071025004101.GQ11797@adacore.com> References: <1193262980.16917.16.camel@localhost.localdomain> <20071024221008.GM11797@adacore.com> <1193263756.16917.26.camel@localhost.localdomain> <20071024222409.GN11797@adacore.com> <1193271391.16917.42.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1193271391.16917.42.camel@localhost.localdomain> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00225.txt.bz2 > That sounds good. Then we would not have to change much > except for like Makefile.in and configure.in. Script something > like 'cat | grep "gcore\.o"' I think you can simplify this even further by only changing Makefile.in. Instead of grep'ing the makefile fragment, which can only be done in the configure script (and is also a little error prone), I think you can just grep the value of ${DEPFILES} for gcore.o. -- Joel