From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15923 invoked by alias); 6 Nov 2002 21:25:55 -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 15916 invoked from network); 6 Nov 2002 21:25:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Nov 2002 21:25:54 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gA6L3Fw05306 for ; Wed, 6 Nov 2002 16:03:15 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gA6LPpl25371; Wed, 6 Nov 2002 16:25:51 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id gA6LPoD32270; Wed, 6 Nov 2002 13:25:50 -0800 Message-ID: <3DC988DE.99AA9671@redhat.com> Date: Wed, 06 Nov 2002 13:25:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: "Theodore A. Roth" CC: gdb-patches@sources.redhat.com Subject: Re: [RFC] broken build using bison-1.75 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00127.txt.bz2 "Theodore A. Roth" wrote: > > On Wed, 6 Nov 2002, Michael Snyder wrote: > > :) "Theodore A. Roth" wrote: > :) > The attached patch got gdb to compile for me using bison 1.75 and 1.35 on > :) > a debian system. The missing semicolons seem obvious fixes to me, but the > :) > new setup rule I added I'm not sure about since I can't test this myself > :) > and don't have a good understanding of yacc grammar. > > > > :) Yeah, bison has fallen into dis-use in favor of byacc. > :) I'll give you approval to check in all the missing semicolons. > :) As for the new setup rule, have you tested it using byacc? > > Just compiled with byacc 1.9 and it didn't puke on the setup rule I added. > > I not sure if my setup rule is the right thing to do and was hoping > someone with more experience could comment on it correctness (or lack > thereof). I based the change on the information at the end of this page: > > http://www.gnu.org/manual/bison/html_node/Mid-Rule-Actions.html What was the error that bison was giving you?