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