This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]