PATCH: Make PowerPC simulator compile on MinGW

Mark Mitchell mark@codesourcery.com
Tue Nov 29 02:34:00 GMT 2005


Daniel Jacobowitz wrote:

>>I'm happy to try that on a GNU/Linux box, but how do I prove it in
>>general?  I'm happy to just take out that #include, if that will help
>>move the patch forward.
> 
> Please do try that.

I've tested the attached version (identical, except for the
<sys/errno.h> bits) by building both i686-pc-linux-gnu x powerpc-eabi
and i686-mingw32 x powerpc-eabi debuggers.  (The latter was built on an
x86-64 GNU/Linux box using an i686-pc-linux-gnu x i686-mingw32 cross
compiler.)

2005-11-28 Mark Mitchell  <mark@codesourcery.com>

	* configure.ac (USE_WIN32API): Define it.
	* configure.in: Regenerate.
	* config.in: Likewise.
	* emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
	* emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdb.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20051129/b9565f70/attachment.ksh>


More information about the Gdb-patches mailing list