From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9150 invoked by alias); 5 Feb 2002 16:52:51 -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 9030 invoked from network); 5 Feb 2002 16:52:47 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 5 Feb 2002 16:52:47 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2BC203E56; Tue, 5 Feb 2002 11:52:47 -0500 (EST) Message-ID: <3C600DDE.1000902@cygnus.com> Date: Tue, 05 Feb 2002 08:52:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Richard.Earnshaw@arm.com Cc: gdb@sources.redhat.com Subject: Re: Multi-arching FLOAT_INFO References: <200202051557.PAA28800@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00104.txt.bz2 > + void >> > + default_float_info (void) >> > + { >> > + #ifdef FLOAT_INFO >> > + #if GDB_MULTI_ARCH >> > + #error "FLOAT_INFO defined in multi-arch" > >> >> >> Suggest #if GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL > > > But surely a multi-arch (even a partial multi-arch) should be using the > new function, not the old one. I thought it was ok to be using > legacy-style definitions of multi-arch macros, but not to be using > deprecated ones (hence the error). If that is incorrect of course, I can > easily change it as you suggest. It is a compromize. GDB_MULTI_ARCH_TM and above do what you describe. GDB_MULTI_ARCH_PARTIAL is intentionally lax about what it allows, only barfing a build when absolutly necessary. The intention is to make the steps necessary before adding #define GDB_MULTI_ARCH GDB_MULTI_ARCH_PARTIAL as minimal as possible. Since you've fixed the frame stuff, can I suggest skipping to the step where the above is defined. Andrew