From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9572 invoked by alias); 16 Aug 2002 22:08:20 -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 9563 invoked from network); 16 Aug 2002 22:08:19 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 16 Aug 2002 22:08:19 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g7GLsKl07031 for ; Fri, 16 Aug 2002 17:54:20 -0400 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 g7GM8Gu03834; Fri, 16 Aug 2002 18:08:16 -0400 Received: from romulus.sfbay.redhat.com (IDENT:IicyL7Tm1+PilS2QlGNy8QxhTQjNfLyR@romulus.sfbay.redhat.com [172.16.27.251]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g7GM8Fe28404; Fri, 16 Aug 2002 15:08:15 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g7GM8Dq31902; Fri, 16 Aug 2002 15:08:13 -0700 Date: Fri, 16 Aug 2002 15:08:00 -0000 From: Kevin Buettner Message-Id: <1020816220813.ZM31901@localhost.localdomain> In-Reply-To: William Bader "ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5" (Aug 16, 5:49pm) References: <200208161749.aa10539@mip486.nscs.fast.net> To: William Bader , ac131313@ges.redhat.com, gdb-patches@sources.redhat.com Subject: Re: ChangeLog entry, re: gdb-5.2 and SCO OpenServer 5.0.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00464.txt.bz2 On Aug 16, 5:49pm, William Bader wrote: > +#if GDB_MULTI_ARCH > + /* TARGET_PTR_BIT evaluates to a function call */ > + char *buf = alloca(TARGET_PTR_BIT / TARGET_CHAR_BIT); I think that all you need is this line (but put a space between ``alloca'' and the left paren). > +#else > char buf[TARGET_PTR_BIT / TARGET_CHAR_BIT]; > +#endif I.e, you can get rid of the preprocessor statements and the old declaration. Kevin