From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27673 invoked by alias); 21 Jul 2003 14:25:02 -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 27658 invoked from network); 21 Jul 2003 14:25:01 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 21 Jul 2003 14:25:01 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 753F12B7F; Mon, 21 Jul 2003 10:24:58 -0400 (EDT) Message-ID: <3F1BF7BA.6090801@redhat.com> Date: Mon, 21 Jul 2003 14:25:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephane Carrez Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Convert some HC11/HC12 operations to use the regcache References: <3F1AE239.8000302@nerim.fr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00364.txt.bz2 > Hi! > > I've committed this patch to use the regcache_* instead of some deprecated APIs. > Committed on mainline and 6_0 branch. No regression on 6_0 branch. > There are still few calls to read_register() but they are in deprecated operations > that I have to figure out how to remove... Take care here. I've found that the d10v has a few edge cases that will take some time to fix. Thanks for doing all this. Andrew > 2003-07-20 Stephane Carrez > > * m68hc11-tdep.c (m68hc11_pseudo_register_read): Use > regcache_cooked_read_unsigned instead of read_register. > (m68hc11_saved_pc_after_call): Likewise. > (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned > instead of write_register. > (m68hc11_register_type): New function. > (m68hc11_register_virtual_type): Remove. > (m68hc11_store_return_value): Convert to use the regcache. > (m68hc11_extract_struct_value_address): Likewise. > (m68hc11_gdbarch_init): Remove deprecated ops for register to use > m68hc11_register_type; undeprecate store_return_value and > extract_struct_value_address.