Kaydet (Commit) 6dc68200 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

Do not catch signals in dbgutil build

Helps debug crashes, segfaults, etc
as one gets the right backtrace in gdb and dumped core.
üst 2c46cde2
...@@ -248,6 +248,10 @@ static sal_Bool InitSignal() ...@@ -248,6 +248,10 @@ static sal_Bool InitSignal()
bSetILLHandler = sal_True; bSetILLHandler = sal_True;
} }
#ifdef DBG_UTIL
bSetSEGVHandler = bSetWINCHHandler = bSetILLHandler = bDoHardKill = sal_False;
#endif
SignalListMutex = osl_createMutex(); SignalListMutex = osl_createMutex();
act.sa_handler = SignalHandlerFunction; act.sa_handler = SignalHandlerFunction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment