Mail Archives: djgpp/1996/07/23/00:04:40
I have been using DJGPP for a few weeks now and I think it is realy good but am
having some problems which don't seem to be covered in the FAQ.
Firstly, I wrote a program to see how much memory I could allocate by looping
and allocating blocks of memory. When I use large blocks like 1meg, everything
seems to work fine but when I use smaller blocks, the program has a sigsev
thingy and dies (under DOS and CWSDPMI, but not WIndows). This is not realy a
problem as it would be quite unlikly to reach this limit in a normal program. I
would be greatful if anyone could tell me what causes this and how to overcome it.
My second problem is about gdb. I thought I would find out what was causing the
problems described above so I read up the FAQ and was soon debuging my program
but when I tried to single step, I got a message that the program had not been
started. When I start the program, it runs till the end, or has an error. Could
someone tell me hot to start a program so that I can step through it?
Thanx in advance
Newbs.
- Raw text -