[Ada] Fix __gnat_kill on Windows
authorDmitriy Anisimkov <anisimko@adacore.com>
Mon, 20 Dec 2021 11:44:58 +0000 (17:44 +0600)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 Jan 2022 16:24:11 +0000 (16:24 +0000)
commit20f6d5e4a8862f733e66f57ac9f2f2792903ac61
tree90caac721b0f934aba2099ce835c99b90438fd04
parent13e04137665e2e7cab689c280eab7875e4318e0d
[Ada] Fix __gnat_kill on Windows

gcc/ada/

* adaint.c (__gnat_kill): Terminate process only in case of
SIGKILL, SIGINT, SIGBREAK, SIGTERM, SIGABRT.  Do not call
OpenProcess if not going to terminate process.
gcc/ada/adaint.c