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:
Lionel Elie Mamane 2011-11-18 13:07:59 +01:00
parent 2c46cde2ed
commit 6dc6820038

View file

@ -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;