This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Various Windows (mingw32) additions, mostly relating to select or serial ports


On Tue, Feb 07, 2006 at 12:01:43AM +0100, Mark Kettenis wrote:
>> Date: Mon, 6 Feb 2006 16:02:38 -0500
>> From: Daniel Jacobowitz
>> 
>> On Fri, Feb 03, 2006 at 05:05:29PM -0500, Daniel Jacobowitz wrote:
>> > Fixes, all for a mingw32-hosted GDB:
>> 
>> Here is a revised version, in which the Windows select magic does not
>> live in event-loop.c, and including the NEWS entry.  I haven't changed
>> the pipe polling code; thanks to Ian for his suggestions, but I'm
>> not sufficiently sure they're workable.
>> 
>> Are there any bits of this patch that strike you as too ugly or in the
>> wrong place?
>
>Hmm, can't mingw_select() just be called select()?  That'd remove much
>of the ugliness.

Unfortunately, there's already a select, with similar semantics to UNIX,
exported by Windows's winsock dll.

It can only be used for sockets, though.  It's not useful for anything
else.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]