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: [RFC] mingw port: Allow use of cvs GDB on Windows 95


  After more debugging on
a more recent windows system,
I now think that the close of the 
file descriptor scb->fd in ser_windows_close
that was created using a call
to _open_osfhandle with the HANDLE associated with
the serial port also closes that handle.
  If this is correct, it probably means
that the CloseHandle call that I added to
win95_cancelio is not even necessary...

  Does anyone know if the fact
that calling close on the return value of _open_osfhandle
also close the real handle used in the call?
 The windows online documentation didn't seem really
explicit...

Pierre Muller.



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