PDA

View Full Version : core dump



kermit
08-03-2004, 06:25 PM
I have a program that is segfaulting - I want to look at the core dump, except that I am not getting one in my directory - do I need to specify something to gcc to make it leave the core dump file in my directory?

gcc -Wall -ggdb -o progname progname.c

~/

:: edit - ah, I found a solution -

ulimit -c unlimited

now I have a core dump :)