Re: core dump

J.D. Bakker (bakker@thorgal.et.tudelft.nl)
Wed, 12 Jan 2000 12:13:11 +0100


>It would be extremely useful to be able to get a core dump that gdb
>understands without having the process stall longer than it takes to write
>the core and have it continue merrily on its way.

Maybe I'm being naive, but isn't it possible to put something like this in
a signal handler:

if(fork() > 0)
(volatile int *) 0 = 0;

Assuming you have the source, off course.

JDB.

--
LART. 250 MIPS under one Watt.
http://www-ict.its.tudelft.nl/~erik/open-source/LART/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/