[RFC] unsigned32 and unsigned64 is multiply defined in sim-types.h.

Manoj Iyer manjo@austin.ibm.com
Wed Apr 20 22:23:00 GMT 2005


oh! I dint even think of it in that angle... u have a good point there
mark.


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

On Thu, 21 Apr 2005, Mark Kettenis wrote:

>    Date: Wed, 20 Apr 2005 10:01:52 -0500 (CDT)
>    From: Manoj Iyer <manjo@austin.ibm.com>
>
>    --- 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;
>
> B.t.w. this whole bit of code looks highly suspicious (but that's not
> your fault Manjo).  It looks as if this implies the alpha is still the
> only 64-bit architecture around.
>
> Mark
>
>



More information about the Gdb-patches mailing list