Definition at line 52 of file DebugHelpers.cxx.
ana::InstallHandlers::InstallHandlers |
( |
| ) |
|
|
inline |
Definition at line 55 of file DebugHelpers.cxx.
58 if(getenv(
"CAFE_NO_BACKTRACE"))
return;
63 sprintf(s,
"/proc/%d/cmdline", getpid());
68 if(ss.find(
"root.exe") == std::string::npos)
return;
76 memset(&sa, 0,
sizeof(sa));
77 sigemptyset(&sa.sa_mask);
80 sa.sa_flags = SA_SIGINFO;
82 sigaction(SIGABRT, &sa, NULL);
83 sigaction(SIGSEGV, &sa, NULL);
84 sigaction(SIGBUS, &sa, NULL);
85 sigaction(SIGFPE, &sa, NULL);
then echo File list $list not found else cat $list while read file do echo $file sed s
void handle_signal(int sig, siginfo_t *, void *)
The documentation for this class was generated from the following file: