Date: Sat, 10 Oct 1998 19:53:19 +0100 (BST) From: George Foot To: djgpp AT delorie DOT com Subject: Re: Unpredictable GPF's In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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