Mail Archives: djgpp-workers/1999/06/14/04:08:36
On Mon, 14 Jun 1999, Eli Zaretskii wrote:
>
> On Mon, 14 Jun 1999, Andris Pavenis wrote:
>
> > Most my own applications use floating point. At least my own experience
> > with debuggers shows that FP supports works there.
>
> The problem should only show up if the debuggee changes the FPU state by
> fiddling with the control word, or gets an FP exception. Otherwise,
> FNINIT is a no-op.
>
> > However I think that
> > having 2 FPU states (one for debugger, second for debugee) which are
> > swapped before and after running child (as suggested in one of earlier
> > posts to this mailing list) would be better.
>
> I agree. But this should probably wait for a later DJGPP version.
>
I think it would be very small patch (adding one more structure for saving
FPU state, one frstor at end of save_fpu and one fnsave at begin of
load_npx).
I'll test it slightly later when I'll reboot Wincrap95 (I'm currently
running Linux)
Andris
- Raw text -