diff options
| author | Alain Schneble | 2016-10-08 16:52:40 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-10-08 16:52:40 +0300 |
| commit | f3eedc7e68d0e8b97425b72d691593d06639df88 (patch) | |
| tree | 8382915bdc2da6b10293e2c86c8b1306e6567373 /src/coding.h | |
| parent | 67d14c8222c05ac20229f71a2cf40eb9e3efa053 (diff) | |
| download | emacs-f3eedc7e68d0e8b97425b72d691593d06639df88.tar.gz emacs-f3eedc7e68d0e8b97425b72d691593d06639df88.zip | |
Support SIGTRAP in kill emulation on Windows
* src/w32proc.c (sys_kill): Translate SIGTRAP signal into a call to
'DebugBreakProcess' to cause a breakpoint exception to occur in the
specified process. On Windows versions prior to Windows XP that do
not support 'DebugBreakProcess' return -1 and set errno to ENOTSUP
(as opposed to EINVAL before this change).
* src/w32proc.c: Add typedef for 'DebugBreakProcess' function pointer
and global variable to track state of run-time dynamic linking of this
function.
* etc/NEWS: Add entry to document that 'signal-process' now supports
SIGTRAP.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions