This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Missing sleep function for mingw hosts
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, pierre dot muller at ics-cnrs dot unistra dot fr
- Date: Tue, 29 Mar 2011 22:01:22 +0200
- Subject: Re: [RFC] Missing sleep function for mingw hosts
- References: <004701cbede4$0ee18c20$2ca4a460$%muller@ics-cnrs.unistra.fr> <E1Q4Y9z-0004UD-1Y@fencepost.gnu.org> <003001cbee11$49bb0880$dd311980$%muller@ics-cnrs.unistra.fr> <201103291523.46954.pedro@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 29 Mar 2011 15:23:46 +0100
> Cc: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>,
> "'Eli Zaretskii'" <eliz@gnu.org>
>
> > > 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.