From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4469 invoked by alias); 15 Oct 2004 15:25:15 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4457 invoked from network); 15 Oct 2004 15:25:14 -0000 Received: from unknown (HELO mclean.mail.mindspring.net) (207.69.200.57) by sourceware.org with SMTP; 15 Oct 2004 15:25:14 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1CITxA-0001SD-00; Fri, 15 Oct 2004 11:25:12 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 0CEB04B102; Fri, 15 Oct 2004 11:25:02 -0400 (EDT) Date: Fri, 15 Oct 2004 17:55:00 -0000 From: Michael Chastain To: gdb@sources.redhat.com, cagney@gnu.org Subject: Re: p-exp.y: parse error before "xmalloc" Message-ID: <416FEBCE.nailM6K11L2BT@mindspring.com> References: <416FE87F.nailM4L11F2H8@mindspring.com> In-Reply-To: <416FE87F.nailM4L11F2H8@mindspring.com> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00328.txt.bz2 It's the problem that Andreas Schwab noticed. p-exp.y says: char *uptokstart = (char *)malloc(namelen+1); p-exp.c, after substitution, says: char *uptokstart = (char *xmalloc(namelen+1); I'll go ahead and check in a patch unless someone beats me to it. Michael