RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block |
---|
#include "breakpad_wrapper.h" |
...
Code Block |
---|
breakpad_ExceptionHandler(); |
...
Code Block |
---|
|
...
raise(SIGSEGV); |
...
...
Code Block |
---|
// setupExit(); |
...
Where setupExit is the signal handler function
...
Where setupExit is the signal handler function static void setupExit(void) |
...
{ |
...
signal(SIGINT, sighandler); // CTRL-C |
...
signal(SIGQUIT, sighandler); |
...
} |
...
Code Block |
---|
Include breakpad wrapper library to LDFLAGS |
...
LDFLAGS += "-lbreakpadwrapper" |
...