This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Fix LP64 model bug in PPC simulator
Daniel Jacobowitz wrote:
> On Tue, Jan 24, 2006 at 11:52:06AM -0800, Mark Mitchell wrote:
>
>>Mark Kettenis wrote:
>>
>>
>>>Any reason not to just use 'int'? I'm pretty sure our code base makes
>>>that assumption in a lot of places.
>>
>>Fine by me. OK with that change?
Here's what I checked in.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2006-01-23 Mark Mitchell <mark@codesourcery.com>
* words.h (signed32): Define as "int".
(unsigned32): Define as "unsigned int".
Index: words.h
===================================================================
RCS file: /cvs/src/src/sim/ppc/words.h,v
retrieving revision 1.2
diff -c -5 -p -r1.2 words.h
*** words.h 20 Apr 2005 14:43:55 -0000 1.2
--- words.h 24 Jan 2006 23:47:26 -0000
*************** typedef char natural8;
*** 53,67 ****
typedef short natural16;
typedef long natural32;
typedef signed char signed8;
typedef signed short signed16;
! typedef signed long signed32;
typedef unsigned char unsigned8;
typedef unsigned short unsigned16;
! typedef unsigned long unsigned32;
#ifdef __GNUC__
typedef long long natural64;
typedef signed long long signed64;
typedef unsigned long long unsigned64;
--- 53,67 ----
typedef short natural16;
typedef long natural32;
typedef signed char signed8;
typedef signed short signed16;
! typedef signed int signed32;
typedef unsigned char unsigned8;
typedef unsigned short unsigned16;
! typedef unsigned int unsigned32;
#ifdef __GNUC__
typedef long long natural64;
typedef signed long long signed64;
typedef unsigned long long unsigned64;