From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25801 invoked by alias); 28 Nov 2005 22:43:28 -0000 Received: (qmail 25794 invoked by uid 22791); 28 Nov 2005 22:43:27 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Nov 2005 22:43:25 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id jASMfXLC000721; Mon, 28 Nov 2005 23:41:33 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id jASMfXul026141; Mon, 28 Nov 2005 23:41:33 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id jASMfXUZ012086; Mon, 28 Nov 2005 23:41:33 +0100 (CET) Date: Tue, 29 Nov 2005 02:44:00 -0000 Message-Id: <200511282241.jASMfXUZ012086@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: mark@codesourcery.com CC: drow@false.org, gdb-patches@sources.redhat.com In-reply-to: <438B8417.2000005@codesourcery.com> (message from Mark Mitchell on Mon, 28 Nov 2005 14:26:31 -0800) Subject: Re: PATCH: Make PowerPC simulator compile on MinGW References: <200511170034.jAH0YK2Z017839@sethra.codesourcery.com> <200511170106.jAH16GAh012415@elgar.sibelius.xs4all.nl> <437BDAA3.9040002@codesourcery.com> <20051128193445.GA4829@nevyn.them.org> <438B8417.2000005@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00493.txt.bz2 > Date: Mon, 28 Nov 2005 14:26:31 -0800 > From: Mark Mitchell > > 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 > 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 > > * 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. Looks good to me! Mark