From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29329 invoked by alias); 2 Dec 2002 19:57:41 -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 29322 invoked from network); 2 Dec 2002 19:57:40 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 2 Dec 2002 19:57:40 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id gB2JvbD11863; Mon, 2 Dec 2002 11:57:37 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] remove dependency of f-exp.tab.c on c-exp.tab.c References: <200212021933.gB2JXF810990@duracef.shout.net> From: David Carlton Date: Mon, 02 Dec 2002 11:57:00 -0000 In-Reply-To: <200212021933.gB2JXF810990@duracef.shout.net> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00032.txt.bz2 On Mon, 2 Dec 2002 13:33:15 -0600, Michael Elizabeth Chastain said: > At first I thought that this might be a Makefile hack to prevent > Make from running multiple copies of yacc in parallel if the user > runs a parallel build, "make -j". Ah, good call. GDB did indeed once do this: the entry Wed Jun 23 15:04:54 1993 K. Richard Pixley (rich@sendai.cygnus.com) does, among other things, the following: (ch-exp.tab.c, m2-exp.tab.c): added artificial dependencies in order to force parallel makes into keeping these rules separate. f-exp.y wasn't added until 1994, but presumably it also had the artificial dependency included for the same reason; and that artificial dependency must have gotten accidentally left behind when this issue was cleaned up. With that explanation, then, I think the patch becomes pretty obvious; I'll commit it in a couple of days unless somebody objects. David Carlton carlton@math.stanford.edu