From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23042 invoked by alias); 19 Apr 2002 23:42:10 -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 23006 invoked from network); 19 Apr 2002 23:42:07 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 19 Apr 2002 23:42:07 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id QAA28326; Fri, 19 Apr 2002 16:41:56 -0700 (PDT) Message-ID: <3CC0A887.56FCF85B@redhat.com> Date: Fri, 19 Apr 2002 16:42:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Elena Zannoni CC: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Subject: Re: [RFA] Arm: change #defines to enums References: <200204191022.LAA17555@cam-mail2.cambridge.arm.com> <3CC061EA.7118C72B@redhat.com> <15552.32647.630869.112512@localhost.redhat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00648.txt.bz2 Elena Zannoni wrote: > > Michael Snyder writes: > > Richard Earnshaw wrote: > > > > > > > Is this OK with folks? > > > > > > > > 2002-04-18 Michael Snyder > > > > > > > > * arm-tdep.h: Change defines to enums for ease of debugging. > > > > > > I'm happy with the change to the regnums, but not with the other bits. > > Actually, would it be better to put the regnums inside the tdep > structure, like sh and powerpc do? That has really helped a lot when > adding a variant that has different registers. That's a separate issue, I think (I have no idea if some of these regnums may change from one variant to another). All I wanted was to be able to cut and paste an expression that uses these constants, and evaluate it. Michael