>
> I hope this isn't a FAQ.
> How do I get core dumps? I have loads of segfaults when I forget
> what to do with pointers; but never once has a file called 'core'
> appeared. Am I doing something very stupid?
>
> 2.1.125, glibc, pgcc
You probably have core dumps shut off (limited to size 0) in the shell.
In bash the command is:
ulimit -c unlimited
In tcsh it's:
limit core unlimited
In other shells it's probably similar. If not read the documentation for
the shell because I don't know and this isn't the proper forum to ask. :)
Hope that helps.
-
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/