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] |
Related to this discussion: http://sourceware.org/ml/gdb/2007-04/msg00063.html It appeared that we should not use WaitForMultipleObjects on a file handle. Here is a patch (inspired from the way GDB deals with pipes on mingw32) to fix this issue. OK to apply? 2007-04-19 Jerome Guitton <guitton@adacore.com> * ser-mingw.c (fd_is_file): New function. (file_select_thread): New function. (ser_console_wait_handle): Add special handling for files.
Attachment:
ser-mingw.c.dif
Description: video/dv
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |