From de2dd1f50622d333a57711c8e44471378c74d5e4 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Fri, 2 Dec 2016 15:10:37 -0800 Subject: [PATCH] Allow fatal errors to produce core dumps. (#79) --- src/common/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/common.h b/src/common/common.h index 47fb088ce..ab239d7c0 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -63,7 +63,7 @@ void *buffer[255]; \ const int calls = backtrace(buffer, sizeof(buffer) / sizeof(void *)); \ backtrace_symbols_fd(buffer, calls, 1); \ - exit(-1); \ + abort(); \ } while (0) #else #define LOG_FATAL(M, ...) \