public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: rda@sources.redhat.com
Subject: [commit] Hardcode some am33 related constants
Date: Thu, 01 Dec 2005 23:53:00 -0000	[thread overview]
Message-ID: <20051201165323.6c52d43a@ironwood.lan> (raw)

I've just committed the patch below.

	* linux-target.c (reginfo) [AM33_2_0_LINUX_TARGET]: Don't use
	``sizeof (greg_t)'' due to this type not being defined any longer
	in the headers that linux-target.c includes.

Index: linux-target.c
===================================================================
RCS file: /cvs/src/src/rda/unix/linux-target.c,v
retrieving revision 1.21
diff -u -p -r1.21 linux-target.c
--- linux-target.c	9 Nov 2005 02:08:12 -0000	1.21
+++ linux-target.c	1 Dec 2005 23:42:53 -0000
@@ -535,35 +535,35 @@ enum
 
 static struct getregs_setregs_reginfo reginfo[] =
 {
-  { GREGS,  PT_D0 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_D1 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_D2 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_D3 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_A0 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_A1 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_A2 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_A3 * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_SP * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_PC * 4,   sizeof (greg_t),   4 },
-  { GREGS,  PT_MDR * 4,  sizeof (greg_t),   4 },
-  { GREGS,  PT_EPSW * 4, sizeof (greg_t),   4 }, /* psw */
-  { GREGS,  PT_LIR * 4,  sizeof (greg_t),   4 },
-  { GREGS,  PT_LAR * 4,  sizeof (greg_t),   4 },
-  { GREGS,  PT_MDRQ * 4, sizeof (greg_t),   4 },
-  { GREGS,  PT_E0 * 4,   sizeof (greg_t),   4 }, /* r0 */
-  { GREGS,  PT_E1 * 4,   sizeof (greg_t),   4 }, /* r1 */
-  { GREGS,  PT_E2 * 4,   sizeof (greg_t),   4 }, /* r2 */
-  { GREGS,  PT_E3 * 4,   sizeof (greg_t),   4 }, /* r3 */
-  { GREGS,  PT_E4 * 4,   sizeof (greg_t),   4 }, /* r4 */
-  { GREGS,  PT_E5 * 4,   sizeof (greg_t),   4 }, /* r5 */
-  { GREGS,  PT_E6 * 4,   sizeof (greg_t),   4 }, /* r6 */
-  { GREGS,  PT_E7 * 4,   sizeof (greg_t),   4 }, /* r7 */
-  { GREGS,  PT_SP * 4,   sizeof (greg_t),   4 }, /* ssp */
-  { GREGS,  PT_SP * 4,   sizeof (greg_t),   4 }, /* msp */
-  { GREGS,  PT_SP * 4,   sizeof (greg_t),   4 }, /* usp */
-  { GREGS,  PT_MCRH * 4, sizeof (greg_t),   4 },
-  { GREGS,  PT_MCRL * 4, sizeof (greg_t),   4 },
-  { GREGS,  PT_MCVF * 4, sizeof (greg_t),   4 },
+  { GREGS,  PT_D0 * 4,   4,   4 },
+  { GREGS,  PT_D1 * 4,   4,   4 },
+  { GREGS,  PT_D2 * 4,   4,   4 },
+  { GREGS,  PT_D3 * 4,   4,   4 },
+  { GREGS,  PT_A0 * 4,   4,   4 },
+  { GREGS,  PT_A1 * 4,   4,   4 },
+  { GREGS,  PT_A2 * 4,   4,   4 },
+  { GREGS,  PT_A3 * 4,   4,   4 },
+  { GREGS,  PT_SP * 4,   4,   4 },
+  { GREGS,  PT_PC * 4,   4,   4 },
+  { GREGS,  PT_MDR * 4,  4,   4 },
+  { GREGS,  PT_EPSW * 4, 4,   4 }, /* psw */
+  { GREGS,  PT_LIR * 4,  4,   4 },
+  { GREGS,  PT_LAR * 4,  4,   4 },
+  { GREGS,  PT_MDRQ * 4, 4,   4 },
+  { GREGS,  PT_E0 * 4,   4,   4 }, /* r0 */
+  { GREGS,  PT_E1 * 4,   4,   4 }, /* r1 */
+  { GREGS,  PT_E2 * 4,   4,   4 }, /* r2 */
+  { GREGS,  PT_E3 * 4,   4,   4 }, /* r3 */
+  { GREGS,  PT_E4 * 4,   4,   4 }, /* r4 */
+  { GREGS,  PT_E5 * 4,   4,   4 }, /* r5 */
+  { GREGS,  PT_E6 * 4,   4,   4 }, /* r6 */
+  { GREGS,  PT_E7 * 4,   4,   4 }, /* r7 */
+  { GREGS,  PT_SP * 4,   4,   4 }, /* ssp */
+  { GREGS,  PT_SP * 4,   4,   4 }, /* msp */
+  { GREGS,  PT_SP * 4,   4,   4 }, /* usp */
+  { GREGS,  PT_MCRH * 4, 4,   4 },
+  { GREGS,  PT_MCRL * 4, 4,   4 },
+  { GREGS,  PT_MCVF * 4, 4,   4 },
 
   /* AM33 uses single precision floating point registers where two
      consecutive registers are combined to form a double.  The

                 reply	other threads:[~2005-12-01 23:53 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=20051201165323.6c52d43a@ironwood.lan \
    --to=kevinb@redhat.com \
    --cc=rda@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).