No core files
Claudio Bley
bley@cs.uni-magdeburg.de
Mon Feb 18 02:06:00 GMT 2002
>>>>> "Darrell" == Darrell Bellert <dbellert@boulder.qms.com> writes:
Darrell> If I am in the wrong list, I apologize. Here's my
Darrell> question: I'm executing code that results in a seg fault,
Darrell> but no 'core' file is generated. Is this related to the
Darrell> gcc compiler? How do I enable the creation of core
Darrell> files? I compiled debug on Red Hat 7.2
Darrell> $ gcc -v Reading specs from
Darrell> /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version
Darrell> 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
Darrell> Thanks,
Darrell> Darrell
I suspect this is not related to gcc in general. You may need to
refine your ulimit settings. E.g. in Bash:
$ ulimit -a
core file size (blocks, -c) 0
...
(this means no core files are generated.)
$ ulimit -c unlimited
Claudio
More information about the Gcc-help
mailing list