From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5019 invoked by alias); 9 Dec 2001 23:09:57 -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 4994 invoked from network); 9 Dec 2001 23:09:54 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 9 Dec 2001 23:09:54 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 3F5A33D60; Sun, 9 Dec 2001 15:09:50 -0800 (PST) Message-ID: <3C13EF3E.3000102@cygnus.com> Date: Sun, 09 Dec 2001 15:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.6) Gecko/20011207 X-Accept-Language: en-us MIME-Version: 1.0 To: Kevin Buettner Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA] ppc: include register numbers in gdbarch_tdep structure. References: <15379.50110.429092.453327@krustylu.cygnus.com> <1011209212323.ZM18906@ocotillo.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00259.txt.bz2 > Though I do wonder if it was really necessary to move register > numbers which are truly constant to the gdbarch_tdep struct. BTW, > this wouldn't bother me so much if we could use inline functions > in C. Based on the pains I'm experiencing with going through trying to get some MMX changes for x86 in a state where I can submit them, I suspect it is the better of the alternatives. The x86 has a mix and that is just confusing. I don't know what can change and what can't change and what secret relationships there are between the constants and variables. On paper, it should be possible to describe the entire raw regcache using constants. I'm finding that, in reality, until all the relevant framework is fleshed out (eg my regcache breakage, everything multi-arch) it isn't really possible. Sigh. enjoy, Andrew