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] win32-nat.c: Handle EXCEPTION_INVALID_HANDLE as SIGSYS


On Tue, Oct 23, 2007 at 05:47:30PM -0400, Christopher Faylor wrote:
> So if I got this wrong and closed some handles that shouldn't have been
> closed why doesn't this patch just get rid of those cases?

If I've got this right - and I'm not sure I do - then the patch does
two things.  It stops closing some handles we shouldn't close, and it
adds a new feature which is useful for debugging native Windows
programs which close handles they shouldn't close (or do other bad
things).

If that's right, let's break it up into two please.  Nothing sets
old_behavior, so it's not needed - either the closes are necessary
or they aren't and I suspect most or all Windows versions will be
consistent about which it is.

-- 
Daniel Jacobowitz
CodeSourcery


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