Catch gas exit-via-signal
authorNathan Sidwell <nathan@acm.org>
Wed, 18 Jan 2017 13:23:10 +0000 (08:23 -0500)
committerNathan Sidwell <nathan@acm.org>
Wed, 18 Jan 2017 13:23:10 +0000 (08:23 -0500)
commit1ec4b9f28bab4400c882a0f3e966eb12b73cee1a
treed5c4263ec5061e83bc72f5096247ec0ebec1b892
parent319b82e47dd12d6554e17a2ceedd3139b88ba55f
Catch gas exit-via-signal

gas/
* as.h (gas_assert): Use abort.
(as_assert): Remove.
(signal_init): Declare.
* as.c (main): Call signal_init.
* messages.c: #include <signal.h>
(as_assert): Delete.
(as_abort): Allow NULL FILE.
(signal_crash): New.
(signal_init): Register fatal signal handlers.
* configure.ac: Check for strsignal.
* config.in: Rebuilt.
* configure: Rebuilt.
gas/ChangeLog
gas/as.c
gas/as.h
gas/config.in
gas/configure
gas/configure.ac
gas/messages.c