From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16435 invoked by alias); 15 Jul 2003 19:56:05 -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 16389 invoked from network); 15 Jul 2003 19:56:04 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 15 Jul 2003 19:56:04 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 311AC2B7F; Tue, 15 Jul 2003 15:56:03 -0400 (EDT) Message-ID: <3F145C53.7060708@redhat.com> Date: Tue, 15 Jul 2003 19:56:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elena Zannoni Cc: Michael Snyder , gdb-patches@sources.redhat.com, ezannoni Subject: Re: [RFA] Improvements for sh double register display References: <3F031E03.3040206@redhat.com> <16148.21516.843971.449438@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00309.txt.bz2 > > + char *raw_buffer; > > + double dbl; > > + int inv; > > > > ! /* Allocate space for the float. */ > > ! raw_buffer = (char *) alloca (2 * REGISTER_RAW_SIZE (FP0_REGNUM)); > > Can you use something other than alloca here? Also, this will collide > in mid air with Corinna's revamp. Maybe you can revisit this after she > is done? Otherwise it's ok. Something like: char raw_buffer[MAX_REGISTER_SIZE * 2]; will do the trick. Andrew