From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24556 invoked by alias); 5 Oct 2007 17:40:18 -0000 Received: (qmail 24547 invoked by uid 22791); 5 Oct 2007 17:40:17 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 05 Oct 2007 17:40:12 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DC25D981F4 for ; Fri, 5 Oct 2007 17:40:10 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B50C0981F1 for ; Fri, 5 Oct 2007 17:40:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1Idr9l-0000rJ-UK for gdb-patches@sourceware.org; Fri, 05 Oct 2007 13:40:09 -0400 Date: Fri, 05 Oct 2007 17:40:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc] Pre-parse XML target descriptions Message-ID: <20071005174009.GA3182@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20071005153350.GA23583@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00059.txt.bz2 On Fri, Oct 05, 2007 at 09:54:21AM -0700, Jim Blandy wrote: > Actually, the mechanism I suggested could be incorporated in any > case. The GDB build process should always check the checksums of the > XML input files against those stored in the files built from them, > simply to remind developers when they need to regenerate the C files. > It's just a good general principle for dealing with pre-generated > files. But honestly, is it worth the trouble? If we do that we have to content with at least these issues: - $build != $host; can not run GDB at all - Expat not available; can not parse descriptions - GDB needs the descriptions to build but can't regenerate them until after it is built. I don't think it's important enough to make the build system more complicated. -- Daniel Jacobowitz CodeSourcery