Mail Archives: djgpp/1998/10/10/14:56:48
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 -