From 0f1365093f448e9503b618a5097eb8d6433e7710 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 22 Jul 2010 00:55:23 +0100 Subject: Trap SIGABRT so that get backtrace in the log. Improve handling of notification objects, and the printing of same to the logs. --- lib/log.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/log.h') diff --git a/lib/log.h b/lib/log.h index 1894aff2..dda773ea 100644 --- a/lib/log.h +++ b/lib/log.h @@ -193,6 +193,9 @@ extern void zlog_signal(int signo, const char *action #endif ); +/* Ring down the curtain -- turn of SIGABRT handler and abort() */ +extern void zabort_abort(void) __attribute__ ((noreturn)) ; + /* Log a backtrace. */ extern void zlog_backtrace(int priority); -- cgit v1.2.3