From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31742 invoked by alias); 20 Apr 2002 01:43:11 -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 31735 invoked from network); 20 Apr 2002 01:43:10 -0000 Received: from unknown (HELO pizda.ninka.net) (216.101.162.242) by sources.redhat.com with SMTP; 20 Apr 2002 01:43:10 -0000 Received: from localhost (IDENT:davem@localhost.localdomain [127.0.0.1]) by pizda.ninka.net (8.9.3/8.9.3) with ESMTP id SAA08869; Fri, 19 Apr 2002 18:34:31 -0700 Date: Fri, 19 Apr 2002 18:43:00 -0000 Message-Id: <20020419.183431.110224616.davem@redhat.com> To: msnyder@redhat.com Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Sparc/Linux fixes part 1 From: "David S. Miller" In-Reply-To: <3CC0C38C.237D5798@redhat.com> References: <20020419.144600.97361868.davem@redhat.com> <3CC0C38C.237D5798@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00655.txt.bz2 From: Michael Snyder Date: Fri, 19 Apr 2002 18:25:32 -0700 The idea is sound, but the implementation is not very multi-arch-ish. Is there a runtime way to do this, rather than by using a macro? The whole purpose of multi-arch is that these decisions get made at runtime. It is done at runtime, why do you think I check GDB_TARGET_IS_SPARC64 in the tm-sp64linux.h case? For tm-linux.h it can only possibly be one value. Eventually I want to merge tm-sp64linux.h and tm-linux.h into one configuration, but I want to merge in all of my previous work first as that provides the infrastructure I need to do that properly.