From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23370 invoked by alias); 2 Aug 2004 21:00:34 -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 23362 invoked from network); 2 Aug 2004 21:00:34 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 2 Aug 2004 21:00:34 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i72L0Xe3009559 for ; Mon, 2 Aug 2004 17:00:33 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i72L0Xa11132; Mon, 2 Aug 2004 17:00:33 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 000A52B9D; Mon, 2 Aug 2004 17:00:31 -0400 (EDT) Message-ID: <410EAB6F.9060508@gnu.org> Date: Mon, 02 Aug 2004 21:00:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [obish] Conver cris to gdbarch_register_type Content-Type: multipart/mixed; boundary="------------030807080508090603040506" X-SW-Source: 2004-08/txt/msg00046.txt.bz2 This is a multi-part message in MIME format. --------------030807080508090603040506 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 33 Trival tweak, committed, Andrew --------------030807080508090603040506 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1225 2004-08-02 Andrew Cagney * cris-tdep.c (cris_register_type): Replace cris_register_virtual_type. (cris_gdbarch_init): Update, set register_type. Index: cris-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/cris-tdep.c,v retrieving revision 1.111 diff -p -u -r1.111 cris-tdep.c --- cris-tdep.c 31 Jul 2004 21:53:17 -0000 1.111 +++ cris-tdep.c 2 Aug 2004 20:58:32 -0000 @@ -1211,7 +1211,7 @@ cris_register_offset (int regno) of data in register regno. */ static struct type * -cris_register_virtual_type (int regno) +cris_register_type (struct gdbarch *gdbarch, int regno) { if (regno == SP_REGNUM || regno == PC_REGNUM || (regno > P8_REGNUM && regno < USP_REGNUM)) @@ -3862,7 +3862,7 @@ cris_gdbarch_init (struct gdbarch_info i /* The length of the registers in the program's representation. */ set_gdbarch_deprecated_register_virtual_size (gdbarch, cris_register_size); - set_gdbarch_deprecated_register_virtual_type (gdbarch, cris_register_virtual_type); + set_gdbarch_register_type (gdbarch, cris_register_type); /* Dummy frame functions. */ set_gdbarch_push_dummy_code (gdbarch, cris_push_dummy_code); --------------030807080508090603040506--