From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1889 invoked by alias); 6 Nov 2002 21:57:23 -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 1882 invoked from network); 6 Nov 2002 21:57:23 -0000 Received: from unknown (HELO thevenin.amplepower.com) (216.39.162.139) by sources.redhat.com with SMTP; 6 Nov 2002 21:57:23 -0000 Received: from [192.168.8.30] (helo=knuth.amplepower.com ident=roth) by thevenin.amplepower.com with esmtp (Exim 3.35 #1 (Debian)) id 189Y7t-0007c5-00; Wed, 06 Nov 2002 13:54:17 -0800 Date: Wed, 06 Nov 2002 13:57:00 -0000 From: "Theodore A. Roth" X-X-Sender: roth@knuth.amplepower.com To: Johannes Stezenbach cc: Michael Snyder , "Theodore A. Roth" , Subject: Re: [RFC] broken build using bison-1.75 In-Reply-To: <20021106213830.GA20109@convergence.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-11/txt/msg00132.txt.bz2 On Wed, 6 Nov 2002, Johannes Stezenbach wrote: :) Hi, :) :) I just fumbled with this two days ago, but did not post to the :) list immediately because I'm not subscribed. The fix is similar :) to what the binutils people were doing. :) :) /bin/sh ../../gdb+dejagnu-5.3-branch-20021031/gdb/../ylwrap "bison -y" ../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y y.tab.c c-exp.tmp -- :) /home/js/MIPS/toolchain/mips-linux-gdb/gdb/../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y:248.5-251.3: type clash (`voidval' `') on default action :) /home/js/MIPS/toolchain/mips-linux-gdb/gdb/../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y:251.5: parse error, unexpected ":", expecting ";" or "|" :) make[1]: *** [c-exp.tab.c] Error 1 Yup, that's exactly what I'm seeing. :) :) --- gdb+dejagnu-5.3-branch-20021031/gdb/p-exp.y.orig 2002-11-04 21:15:06.000000000 +0100 :) +++ gdb+dejagnu-5.3-branch-20021031/gdb/p-exp.y 2002-11-04 21:18:35.000000000 +0100 :) @@ -233,7 +233,8 @@ :) start : { current_type = NULL; :) search_field = 0; :) } :) - normal_start; :) + normal_start {} :) + ; :) :) normal_start : :) exp1 :) That looks much nicer and simpler than my fix. Do you have a reference to what the binutils people are doing so I can try to grok the fix? Ted Roth