aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.ac
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-01-18 08:23:10 -0500
committerNathan Sidwell <nathan@acm.org>2017-01-18 08:23:10 -0500
commit1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (patch)
treed5c4263ec5061e83bc72f5096247ec0ebec1b892 /gas/configure.ac
parent319b82e47dd12d6554e17a2ceedd3139b88ba55f (diff)
downloadgdb-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/configure.ac')
-rw-r--r--gas/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/configure.ac b/gas/configure.ac
index c4c3036..cc70aa7 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -826,6 +826,7 @@ AC_C_INLINE
# VMS doesn't have unlink.
AC_CHECK_FUNCS(unlink remove, break)
AC_CHECK_FUNCS(sbrk setlocale)
+AC_CHECK_FUNCS(strsignal)
AM_LC_MESSAGES