Forcing a core dump

Mark Rowe mark@markrowe.com
Thu Oct 2 14:00:00 GMT 2003


Is there a compiler flag that forces a core dump when a program terminates
unexpectedly ?  I have a multi-threaded program that sometimes terminates
unexpectedly with no core file.  If I can force a core file, I can run gdb
on it.

Thanks in advance !

Mark




More information about the Gcc mailing list