Mail Archives: djgpp/1999/10/07/03:00:46
Heya
Well, firstly, my names Mike (aka frEk) and I'm new to the list, been
programming for quite a while, hobby based, yada yada...
I'm busy designing an image processor system at the moment under DJGPP /
Allegro / DLX and after completely adding the GUI for it, I've just run
it to see what's happening...
After initialising, it bombs out with a "General Protection Fault". I
ran SYMIFY to trace the error and found it was in one of the Allegro
functions. Unfortunately this function is called from many different
places in my program, so I needed to trace through it to find which
function in my program is causing the problem...
I ran it under both RHIDE and GDB (they use the same debugging frame,
right?) to trace the bug... Both of them run the program beautifully
without any hiccoughs... I presume this means that both of them turn of
Real-memory protection so that they don't freeze when people try to
watch / inspect variables that point to absolutely nothing...
Is there any other way of debugging through the program with protection
still intact? Are there any other debuggers I could use?
I've searched the FAQs, source, etc. and still couldn't find anything
there that would help...
- frEk
- Raw text -