Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: gdb-patches@sources.redhat.com
Subject: [RFC] unsigned32 and unsigned64 is multiply defined in sim-types.h.
Date: Wed, 20 Apr 2005 15:01:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0504200954590.20476@lazy> (raw)


This patch fixes what appears to be a typo in the hearder file, where for
__ALPHA__, unsigned32 and unsigned64 gets multiply defined in sim-types.h.
This is caught by the xlc compiler, and it exits with an error saying that
these vars are already defined. Please review and ok to commit.

----------------------------------------------------------------------------

2005-04-19  Manoj Iyer  <manjo@austin.ibm.com>
        * sim-types.h: Changed unsigned32 and unsigned64 to signed32
        and signed64.

--- src/sim/common/sim-types.h	2002-11-22 19:12:05.000000000 -0600
+++ new/src/sim/common/sim-types.h	2005-04-20 09:52:45.000000000 -0500
@@ -112,11 +112,11 @@ typedef struct { signed64 a[2]; } signed
 typedef signed char signed8;
 typedef signed short signed16;
 #if defined (__ALPHA__)
-typedef signed int unsigned32;
-typedef signed long unsigned64;
+typedef signed int signed32;
+typedef signed long signed64;
 #else
-typedef signed long unsigned32;
-typedef signed long long unsigned64;
+typedef signed long signed32;
+typedef signed long long signed64;
 #endif

 typedef unsigned char unsigned8;

-----
manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cogito ergo sum                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


             reply	other threads:[~2005-04-20 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 15:01 Manoj Iyer [this message]
2005-04-20 15:05 ` Daniel Jacobowitz
2005-04-20 15:14   ` Manoj Iyer
2005-04-20 15:26     ` Daniel Jacobowitz
2005-04-20 22:07 ` Mark Kettenis
2005-04-20 22:23   ` Manoj Iyer
2005-04-20 22:28   ` Daniel Jacobowitz

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=Pine.LNX.4.58.0504200954590.20476@lazy \
    --to=manjo@austin.ibm.com \
    --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