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


> From: "Pierre Muller" <muller@ics.u-strasbg.fr>
> Cc: "'Pedro Alves'" <pedro_alves@portugalmail.pt>, 	"'Daniel Jacobowitz'" <drow@false.org>
> Date: Mon, 22 Oct 2007 15:44:01 +0200
> 
>   The patch first implements recognition of
> the exception EXCEPTION_INVALID_HANDLE generated
> by a call to CloseHandle with an invalid parameter.

Thanks.

>   The new variable stop_on_invalid_handle,
> which can be set via "set stoponinvalidhandle",
> allows to either ignore that exception completely
> (with just a comment if verbose is set, default behavior), 
> or to map it to SIGSYS, which can then be handled as any
> target signal via "handle SIGSYS ..." 

I don't know if Chris (and others) will approve this change, but if
they do, please submit a suitable change for the manual describing
this setting, before committing the code changes.  I don't want us to
have commands that are not documented in the manual.

Thanks again for working on this.


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