#include "breakpad_wrapper.h" |
breakpad_ExceptionHandler(); |
raise(SIGSEGV); |
// setupExit(); Where setupExit is the signal handler function static void setupExit(void) { signal(SIGINT, sighandler); // CTRL-C signal(SIGQUIT, sighandler); } |
Include breakpad wrapper library to LDFLAGS LDFLAGS += "-lbreakpadwrapper" |