Do not catch signals in dbgutil build
Helps debug crashes, segfaults, etc as one gets the right backtrace in gdb and dumped core.
This commit is contained in:
parent
2c46cde2ed
commit
6dc6820038
1 changed files with 4 additions and 0 deletions
|
@ -248,6 +248,10 @@ static sal_Bool InitSignal()
|
|||
bSetILLHandler = sal_True;
|
||||
}
|
||||
|
||||
#ifdef DBG_UTIL
|
||||
bSetSEGVHandler = bSetWINCHHandler = bSetILLHandler = bDoHardKill = sal_False;
|
||||
#endif
|
||||
|
||||
SignalListMutex = osl_createMutex();
|
||||
|
||||
act.sa_handler = SignalHandlerFunction;
|
||||
|
|
Loading…
Reference in a new issue