YAZ
5.34.0
|
get information for abnormal terminated, crashes, etc More...
#include <yaz/yconfig.h>
#include <signal.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <yaz/log.h>
#include <yaz/snprintf.h>
#include <yaz/backtrace.h>
#include <yaz/nmem.h>
Go to the source code of this file.
Macros | |
#define | BACKTRACE_SZ 100 |
Functions | |
void | yaz_enable_panic_backtrace (const char *progname) |
enables backtrace when SIGSEGV/SIGABRT/.. signal is received More... | |
Variables | |
static char | static_progname [256] |
get information for abnormal terminated, crashes, etc
Definition in file backtrace.c.
#define BACKTRACE_SZ 100 |
Definition at line 45 of file backtrace.c.
void yaz_enable_panic_backtrace | ( | const char * | progname | ) |
enables backtrace when SIGSEGV/SIGABRT/.. signal is received
progname | name of executable that we run |
Definition at line 198 of file backtrace.c.
References progname, and static_progname.
Referenced by main().
|
static |
Definition at line 47 of file backtrace.c.
Referenced by yaz_enable_panic_backtrace().