delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/27/20:14:04

Date: Mon, 27 Oct 1997 17:11:53 -0800 (PST)
Message-Id: <199710280111.RAA17313@adit.ap.net>
Mime-Version: 1.0
To: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>,
"Przemyslaw G. Gawronski" <gawronskip AT usa DOT net>
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: core dump
Cc: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019