Programmatically generating the core dump

Ian Lance Taylor ian@airs.com
Thu May 5 06:57:00 GMT 2005


Vishnu Mahadevan Menon <vishnu_m_menon@yahoo.com> writes:

> How can a program generate a core dump of itself
> programmatically when it is running without crashing? 

This is not a compiler question, and this is the wrong mailing list
for it.  You are asking a question about programming on whatever
operating system you are using.

I don't know of a way to do this, but I wouldn't be surprised if there
was one.

Ian



More information about the Gcc-help mailing list