Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: John Hedges <john@drystone.co.uk>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb@sourceware.cygnus.com
Subject: Re: Problem with fld on i686
Date: Sat, 17 Nov 2001 05:39:00 -0000	[thread overview]
Message-ID: <E168haM-0003at-00@gwlinux> (raw)
In-Reply-To: <Pine.SUN.3.91.1011127131103.22199A-100000@is>

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.


  reply	other threads:[~2001-11-27 12:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27  0:53 John Hedges
2001-11-16 13:40 ` John Hedges
2001-11-16 14:55 ` Eli Zaretskii
2001-11-17  5:39   ` John Hedges [this message]
2001-11-18 10:57     ` Andrew Cagney
2001-11-27 15:04       ` Andrew Cagney
2001-11-27  3:19   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E168haM-0003at-00@gwlinux \
    --to=john@drystone.co.uk \
    --cc=eliz@is.elta.co.il \
    --cc=gdb@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox