From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22919 invoked by alias); 16 May 2002 13:41:17 -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 22898 invoked from network); 16 May 2002 13:41:12 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 16 May 2002 13:41:12 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 28B1B3E73; Thu, 16 May 2002 09:41:21 -0400 (EDT) Message-ID: <3CE3B700.3060302@cygnus.com> Date: Thu, 16 May 2002 06:41:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc1) Gecko/20020429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard.Earnshaw@arm.com Cc: Elena Zannoni , gdb@sources.redhat.com Subject: Re: read_register_byte can't work with pseudo-reg model References: <200205161219.NAA16585@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00186.txt.bz2 > I'm guessing. Try: >> >> if (REGISTER_READ_P ()) >> { >> do something fairly sane; >> } >> else >> { >> all the legacy cruft including the call to >> legacy_read_register_gen() and that test. >> } >> >> Thing is that there is only one target in the FSF using >> READ_REGISTER_P() so there is this dividing line - something using >> read_register_p() can be given far stronger requirements than for the >> older code. > > > Which target is that, and where is READ_REGISTER_P ? I can't find > anything in the either the source or the mailing lists. Mind you, the > web-based mailing list search even fails to find your message when I > search for READ_REGISTER_P. Sorry, register_read_p() -> sh5. (something else on my todo list is stomp on some of these redundant interfaces :-) Andrew