From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4325 invoked by alias); 15 May 2002 18:08:07 -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 4318 invoked from network); 15 May 2002 18:08:06 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 15 May 2002 18:08:06 -0000 Received: by fw-cam.cambridge.arm.com; id TAA10361; Wed, 15 May 2002 19:08:05 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma010240; Wed, 15 May 02 19:07:41 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id TAA06427; Wed, 15 May 2002 19:07:40 +0100 (BST) Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id TAA18580; Wed, 15 May 2002 19:07:40 +0100 (BST) Message-Id: <200205151807.TAA18580@cam-mail2.cambridge.arm.com> To: Elena Zannoni cc: Andrew Cagney , Richard.Earnshaw@arm.com, gdb@sources.redhat.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: REGISTER_BYTE() and pseudos In-reply-to: Your message of "Wed, 15 May 2002 13:35:14 EDT." <15586.40018.722458.418880@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 11:08:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-05/txt/msg00176.txt.bz2 OK, I see what you are doing. Basically, if a pseudo maps onto a real register somewhere in the regcache, you return the address of that. However, what should be done if the pseudo doesn't exist as a single entry, or if it is a manipulation of a real register? For example, on the ARM, the CPSR may be just a few bits retrieved from the PC. Also, what would you do if you needed to address two non-adjacent registers? R.