Mail Archives: djgpp/1996/09/18/07:27:20
On Wed, 18 Sep 1996, Eli Zaretskii wrote:
>I works for me. The startup code is just a piece of code, there's nothing
>special about the functions there. Nothing special to be said about this
>in the FAQ.
I recently subled upon a problem with GDB. My friend asked me to install DJGPP
on his 386DX40 8MB computer, no FPU. I've written a simple hello proggy to
show him how to debug using GDB. In hello there was a piece of code:
float _float1, _float2;
printf("%f + %f = %f", _float1, _float2, _float1 + _float2);
test_call();
Now when I set a breakpoint on test_call() and 'run' the program, GDB
signalled that 'Program has exited wit SIGFPE'. I thought I made a mistake
somewhere (?) but the program was working ok from cmdline. Then it ocurred to
me that it might be a problem with the FPU emulation. Is it?
Mark
**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw...
******************* http://ananke.amu.edu.pl/~grendel ****************
- Raw text -