[Libreoffice-commits] .: sal/osl
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Mon Nov 21 02:56:51 PST 2011
sal/osl/unx/signal.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6dc6820038cf0a2d067e5fe9c72b42a79404a3c9
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Fri Nov 18 13:07:59 2011 +0100
Do not catch signals in dbgutil build
Helps debug crashes, segfaults, etc
as one gets the right backtrace in gdb and dumped core.
diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c
index abb4eaa..6a6dd1d 100644
--- a/sal/osl/unx/signal.c
+++ b/sal/osl/unx/signal.c
@@ -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;
More information about the Libreoffice-commits
mailing list