This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Support Windows in event-loop.c
On Tue, Apr 26, 2005 at 06:47:47AM +0300, Eli Zaretskii wrote:
> If console handles is the only type that can currently end up in
> `select', I don't see why shouldn't we add such an emulation, however
> limited. It sounds like, according to everybody who participated in
> this thread, any more able emulation is going to be much more complex,
> and some of them even involve Mark K.'s dead body. It doesn't seem
> right to me to reject the patch because of theoretical deficiencies.
>
> The code that got committed was virtually the same one suggested
> originally, only in slightly different wrapping.
FYI, your assumption in the first paragraph is not valid. Both
ser-base and MI can add non-console handles to the event loop.
I believe both bits are reachable on Windows; Mark just hasn't
encountered them yet.
We'll deal with it when someone does, I suppose.
--
Daniel Jacobowitz
CodeSourcery, LLC