Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [obish] Conver cris to gdbarch_register_type
Date: Mon, 02 Aug 2004 21:00:00 -0000	[thread overview]
Message-ID: <410EAB6F.9060508@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 33 bytes --]

Trival tweak,

committed,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1225 bytes --]

2004-08-02  Andrew Cagney  <cagney@gnu.org>

	* 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);

                 reply	other threads:[~2004-08-02 21:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410EAB6F.9060508@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox