This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with fld on i686


On Tuesday 27 Nov 2001 11:18 am, Eli Zaretskii wrote:
> If the code _is_ correct (I think it is), but the results aren't, then
> the fact that static_cast was used in the C++ program is irrelevant,
> right?

Correct - static_cast is irrelevant if we assume it compiled correctly. The 
disassembly looks ok to me too but I'm no asm expert.

> > The problem does not occur when run outside the debugger, nor in a
> > minimal test program.
>
> This suggests that perhaps the FPU state is not saved/restored correctly
> across task switches.  What OS is that?  Can you try a different version
> of the same OS, or some similar but not identical OS?

OS is Linux 2.2.14-5.0. Problem does not occur with Linux 2.2.16 on a 
different (but stil i686) box.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]