From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10011 invoked by alias); 8 Feb 2002 15:19:34 -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 9918 invoked from network); 8 Feb 2002 15:19:20 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 8 Feb 2002 15:19:20 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B710E3E77; Fri, 8 Feb 2002 10:19:18 -0500 (EST) Message-ID: <3C63EC76.3000704@cygnus.com> Date: Fri, 08 Feb 2002 07:19: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: Moving to GDB_MULTI_ARCH_PARTIAL References: <200202080938.JAA27192@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00133.txt.bz2 > this suggests REGISTER_CONVERTIBLE doesn't need to be immediatly >> converted. > > >> However, it also explains why, at level one, it isn't strict about >> overriding macros. Given a case like the i386, the base cpu may be >> multi-arched but the variants (tm-ptx.h and tm-symmetry.h) may not. >> This again lets them continue to build and work. > > > > So if they can continue to work with the existing definitions, why aren't > REGISTER_CONVERTIBLE and PUSH_ARGUMENTS level 2? (I'm currently going through and reviewing these - I've found two other candidates: PUSH_RETURN_ADDRESS (bug) and CALL_DUMMY_LOCATION (not a bug)) It is historic. The very original gdbarch.sh was an all or nothing afair - the developer had to convert every single macro before they could turn on multi-arch. Strangly (:-^) this got serious push back. The process was changed to be tolerant to partially multi-arch targets. A few artifacts from the old way still linger. When someone notices they get tweeked. thanks for the pointers, Andrew