Dump backtrace in case of SIGABRT, SIGSEGV YAZ-787
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 17 Nov 2014 14:17:42 +0000 (15:17 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 24 Nov 2014 14:03:38 +0000 (15:03 +0100)
commit51e1ca7946289042c3c09e92afc1c1c465f5d870
treee063d1f9a089fa26eaac8d423018f602f26ae50d
parentf1e5f52fc3d92a50fbd34698cb6047d04dcc4225
Dump backtrace in case of SIGABRT, SIGSEGV YAZ-787

New function yaz_enable_panic_backtrace which enables backtrace
handler for current process. The handler will call backtrace always,
then gdb to provide as much detail as possible.
configure.ac
include/yaz/Makefile.am
include/yaz/backtrace.h [new file with mode: 0644]
src/Makefile.am
src/backtrace.c [new file with mode: 0644]
win/makefile
ztest/ztest.c