This is the mail archive of the gdb-patches@sourceware.org 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: PATCH: Fix LP64 model bug in PPC simulator


Mark Kettenis wrote:

> Sorry that I didn't notice it before but can you change natural32 as well?

Sure -- I'm sorry I missed that.  I checked in the attached patch after
confirming that the simulator still worked on x86_64-unknown-linux-gnu.

I interpreted your note as an implicit approval of such a change.  I
hope that's OK; let me know if that was a breach of protocol, and I'll
back the patch out.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
2006-01-25  Mark Mitchell  <mark@codesourcery.com>

	* words.h (natural32): Define as "int".

Index: words.h
===================================================================
RCS file: /cvs/src/src/sim/ppc/words.h,v
retrieving revision 1.3
diff -c -5 -p -r1.3 words.h
*** words.h	24 Jan 2006 23:48:01 -0000	1.3
--- words.h	25 Jan 2006 17:27:46 -0000
***************
*** 49,59 ****
  #endif
  
  /* bit based */
  typedef char natural8;
  typedef short natural16;
! typedef long natural32;
  
  typedef signed char signed8;
  typedef signed short signed16;
  typedef signed int signed32;
  
--- 49,59 ----
  #endif
  
  /* bit based */
  typedef char natural8;
  typedef short natural16;
! typedef int natural32;
  
  typedef signed char signed8;
  typedef signed short signed16;
  typedef signed int signed32;
  

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