This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Forcing a core dump


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]