From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32437 invoked by alias); 29 Mar 2011 20:01:23 -0000 Received: (qmail 32391 invoked by uid 22791); 29 Mar 2011 20:01:22 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Mar 2011 20:01:15 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LIU00A004T7T800@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Tue, 29 Mar 2011 22:01:13 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.47.180]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LIU0086D4Y0B9T0@a-mtaout20.012.net.il>; Tue, 29 Mar 2011 22:01:13 +0200 (IST) Date: Tue, 29 Mar 2011 22:05:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] Missing sleep function for mingw hosts In-reply-to: <201103291523.46954.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org, pierre.muller@ics-cnrs.unistra.fr Reply-to: Eli Zaretskii Message-id: <831v1psnl9.fsf@gnu.org> References: <004701cbede4$0ee18c20$2ca4a460$%muller@ics-cnrs.unistra.fr> <003001cbee11$49bb0880$dd311980$%muller@ics-cnrs.unistra.fr> <201103291523.46954.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg01187.txt.bz2 > From: Pedro Alves > Date: Tue, 29 Mar 2011 15:23:46 +0100 > Cc: "Pierre Muller" , > "'Eli Zaretskii'" > > > > I'd rather we had a replacement in win32-nat.c, instead of importing > > > gobs of gnulib stuff needed to provide such a trivial replacement. > > > gnulib is GPL, so we can simply copy the code into our sources. > > gnulib has a mechanism (which we are already using) where > we just import the modules we need. We don't import the whole > thing. I know, but "just the modules we need" are typically huge relative to small problems they solve, this one in particular. Anyway, I'm glad that a much more elegant solution is already available in GDB, in the form of gdb_usleep.