diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-01-18 08:23:10 -0500 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2017-01-18 08:23:10 -0500 |
commit | 1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (patch) | |
tree | d5c4263ec5061e83bc72f5096247ec0ebec1b892 /gas/config.in | |
parent | 319b82e47dd12d6554e17a2ceedd3139b88ba55f (diff) | |
download | gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.zip gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.tar.gz gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.tar.bz2 |
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.
Diffstat (limited to 'gas/config.in')
-rw-r--r-- | gas/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config.in b/gas/config.in index 5129c28..0855179 100644 --- a/gas/config.in +++ b/gas/config.in @@ -144,6 +144,9 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strsignal' function. */ +#undef HAVE_STRSIGNAL + /* Define if <sys/stat.h> has struct stat.st_mtim.tv_nsec */ #undef HAVE_ST_MTIM_TV_NSEC |