[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGTRAP in kill emulation on MS Windows
From: |
Eli Zaretskii |
Subject: |
Re: SIGTRAP in kill emulation on MS Windows |
Date: |
Mon, 22 Aug 2016 05:37:49 +0300 |
> From: Alain Schneble <address@hidden>
> Date: Sun, 21 Aug 2016 22:42:05 +0200
>
> sys_kill in w32proc.c maps some signals (SIGINT, SIGKILL, SIGQUIT,
> SIGHUP) to the appropriate W32 API calls. Couldn't it handle SIGTRAP as
> well and map it to a call to DebugBreakProcess
> (https://msdn.microsoft.com/en-us/library/windows/desktop/ms679298(v=vs.85).aspx)?
It could, but what would be the use case for this functionality? Who
or what would trigger that signal, and what would that trigger do on a
Posix system?