X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Samuel Lauber" Newsgroups: comp.os.msdos.djgpp References: <20050108145011 DOT 60a71ea7 DOT lijon AT kymatica DOT com> <01c4f58f$Blat.v2.2.2$03ce59c0 AT zahav DOT net DOT il> Subject: Re: coredumps? Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Sat, 08 Jan 2005 16:41:23 GMT NNTP-Posting-Host: 204.210.96.202 X-Complaints-To: abuse AT rr DOT com X-Trace: twister.socal.rr.com 1105202483 204.210.96.202 (Sat, 08 Jan 2005 08:41:23 PST) NNTP-Posting-Date: Sat, 08 Jan 2005 08:41:23 PST Organization: RoadRunner - West To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >> Is it possible to generate coredumps when DJGPP-programs crashes? > No (no one written the code to support that). Should someone do that? Once I had the idea of generating a C file containing a __dpmi_regs with the current state of the registers and compiling it... > The closest you can get to this is the traceback printed when the > program crashes. And if it hasn't scrolled off the screen yet, you can type (in this example the program is called `a.out' and I'm at a Bourne shell) bash-2.06$ symify ./a.out and it should print the addresses that were in the traceback, with real function names. If there isn't debug info in the executable, it'll just show the addresses.