Dump backtrace in case of SIGABRT, SIGSEGV YAZ-787 yaz-787-2
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:01:49 +0000 (15:01 +0100)
commit4cdc39e7efa95dc492f15c94928d7c3e9a31a945
treed52600f4817923b73ebe2ea0bdf8a075cd236d2b
parent79e492b21bc47563655bf044a6e5710c06a5fc9d
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