Re: core dump

From: J.D. Bakker (bakker@thorgal.et.tudelft.nl)
Date: Wed Jan 12 2000 - 06:13:11 EST


>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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST