Mail Archives: djgpp/1997/10/27/20:14:04
At 10:40 10/27/1997 -0500, Peter Palotas wrote:
>At 16.28 1997-10-27 +0100, you wrote:
>>Is there an easy method to make something like a core dump using DJGPP
>>v2 ?
>
>Excuse me for asking such a stupid question, but what is a core dump?
It's a file containing a complete copy of your program's read/write memory
and the state of the machine at the time of the crash (registers, etc).
Mostly you see it on Unix machines, where signals like SIGSEGV will cause a
core dump. You can then feed the core file to a debugger, which can tell you
the state of the program when it crashed (backtrace, values of all
variables, etc). It can be very helpful for post-mortem debugging.
(Btw, the name `core dump' comes from the core memory used on old machines.)
Nate Eldredge
eldredge AT ap DOT net
- Raw text -