This is the mail archive of the gdb@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: gdb-6.6 mingw port hangs after Ctrl-C


On Tue, Aug 21, 2007 at 10:41:57AM -0700, Jim Blandy wrote:
>The issue at hand here is that we need C-c to interrupt the main
>thread as it reads from the remote host.  That could be a pipe, a
>socket, or a serial port.
>
>Do you know how one can safely interrupt each of these kinds of reads
>in Windows?

You'd need to use overlapped I/O for those situations.  If you do that
then you'd have to decide whether you want gdb to work on Windows 9x/Me
or not.

As you may recall this is the reason why I don't want to become to
actively involved in supporting MinGW.  I already solved these problems
once in Cygwin.  I don't want to solve the problem again in gdb.

cgf


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