delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/10/14:56:48

Date: Sat, 10 Oct 1998 19:53:19 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Unpredictable GPF's
In-Reply-To: <ranla.12.000B02FB@post.tau.ac.il>
Message-ID: <Pine.OSF.4.05.9810101950070.14009-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 10 Oct 1998, Tal Lavi wrote:

> I'm experiencing some problems with my recent project in DJGPP C.
> In some points, which seems to be random, I am getting a GPF out of nowhere!
> I have no clue on what is happening or how can I solve it.
> It would help to see the values of some variables of mine in the location of 
> the GPF(I know the location, it's allways the same line, a while statement, 
> it's just different situations).
> Does anyone knows a way?

Some time ago I was experimenting with this and made a basic
core dump system.  When your program crashes, it dumps most of
its data segment to disk, and you can investigate that later
with a debugger (supplied).  However, it can't look easily at
function parameters or local variables.  If you know what you're
doing you can find these on the stack yourself, but it can't
locate them for you.

    http://users.ox.ac.uk/~mert0407/downloads/pmdb04s.zip

Unzip it like a normal djgpp package.  Instructions can be found
in the zip.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


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