From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11865 invoked by alias); 1 Feb 2003 06:17:24 -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 11858 invoked from network); 1 Feb 2003 06:17:24 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.209.173) by 172.16.49.205 with SMTP; 1 Feb 2003 06:17:24 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CF3BD3C9D; Sat, 1 Feb 2003 01:17:18 -0500 (EST) Message-ID: <3E3B666E.4090001@redhat.com> Date: Sat, 01 Feb 2003 06:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Eliminate char buf[MAX_REGISTER_RAW_SIZE] References: <3E3AFFA5.9080902@redhat.com> <3E3B2498.7D7B493B@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-02/txt/msg00012.txt.bz2 > > I'm not sure, but I think you need to go even further: > > char *buf; > buf = alloca (...); > > Some compilers will not allow a function call in an auto initializer. That isn't a problem. GDB's been using alloca() in auto declarations for ages. Andrew