I would like to enable core dumping. I have a program even though I have down this delibrately to cause a core dump. I don't get any core dump file in my current directory.
I am compiling on kubuntu 8.10 linux 2.6.24.Code:int *ptrInt = 1000; printf("*ptrInt %d", *ptrInt);
I thought when you compile with the switch -g that would create a core dump file?Code:I am using gcc -g example.c -o example