From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: SIGTRAP in kill emulation on MS Windows Date: Sun, 21 Aug 2016 22:42:05 +0200 Message-ID: <86vaytj1lu.fsf@realize.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471812236 22186 195.159.176.226 (21 Aug 2016 20:43:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 21 Aug 2016 20:43:56 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 21 22:43:52 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbZax-0005Tu-CI for ged-emacs-devel@m.gmane.org; Sun, 21 Aug 2016 22:43:51 +0200 Original-Received: from localhost ([::1]:38133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbZau-0003jr-DH for ged-emacs-devel@m.gmane.org; Sun, 21 Aug 2016 16:43:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbZaM-0003jE-A4 for emacs-devel@gnu.org; Sun, 21 Aug 2016 16:43:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbZaI-0002qF-3K for emacs-devel@gnu.org; Sun, 21 Aug 2016 16:43:13 -0400 Original-Received: from clientmail.realize.ch ([46.140.89.53]:2405) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bbZaH-0002pq-Mr for emacs-devel@gnu.org; Sun, 21 Aug 2016 16:43:10 -0400 Original-Received: from rintintin.hq.realize.ch.lan.rit ([192.168.0.105]) by clientmail.realize.ch ; Sun, 21 Aug 2016 22:42:57 +0200 Original-Received: from MYNGB (192.168.66.64) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Sun, 21 Aug 2016 22:42:25 +0200 X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206734 Archived-At: Hello 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)? Cheers, Alain