Hello,
I am trying to debug a segmentation fault caused by my C program using gdb. A core dump file is not automatically generated when i run my program,and i have to run the command ulimit -c unlimited
for a core file to be generated on the next run.
Why is a core dump file not generated automatically and why do i have to run the ulimit command everytime to generate a core file on the next run of my program ?. The operating system i use is Ubuntu 10.10.
Please Help Thank You