Re: [ILUG] [OT] Forcing core dumps, one solution

From: John P . Looney (valen at domain tuatha.org)
Date: Tue 28 Sep 1999 - 15:51:58 IST


On Tue, Sep 28, 1999 at 02:52:36PM +0100, Caolan McNamara mentioned:
> Sooo... why dont we try a LD_PRELOAD library, heres one that would do what
> you want for the SEGV handler (at least i reckon it would), it doesnt handle
> the posix sigaction and friends, but you might not being using them, and if
> you are just follow the same mechanism to handle that as shown here.
>
> So heres the .so source
> compile this like so....
> gcc -fPIC -shared idea.c -o idea.so -ldl
> and heres idea.c

 Gordon Bennet Caolan. Can't you do anything the easy way ?

Kate

-- 
Microsoft. The best reason in the world to drink beer.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:37 GMT