This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] unsigned32 and unsigned64 is multiply defined in sim-types.h.
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 20 Apr 2005 10:01:52 -0500 (CDT)
- Subject: [RFC] unsigned32 and unsigned64 is multiply defined in sim-types.h.
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 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++