From: Andrew Cagney <ac131313@cygnus.com>
To: Mark Kettenis <kettenis@wins.uva.nl>
Cc: Eli Zaretskii <eliz@is.elta.co.il>, gdb-patches@sources.redhat.com
Subject: Re: [RFA]: Convert the last FP opcode saved by FSAVE into a full opcode
Date: Tue, 13 Feb 2001 13:55:00 -0000 [thread overview]
Message-ID: <3A899388.E03E5CF2@cygnus.com> (raw)
In-Reply-To: <s3i1yt8m1g9.fsf@debye.wins.uva.nl>
> So I don't understand why you're missing those bits in the output of
> "info float". I guess that you want "p $fop" to print the full opcode
> too (without the missing bits). Back when I wrote the code I
> deliberately chose to let GDB's registers contain the raw register
> contents, and let the "info float" command interpret those things.
> That's why I didn't include those bits. I'm also somewhat concerned
> about consistency between the various x86 targets. If we apply your
> patch, targets that don't use the functions from i387-nat.c still
> won't include the extra bits.
This, for the moment, is probably the best compromise.
The register buffer should contain the raw and not the cooked/pseudo
information. Instead that information should be constructed when
needed.
In theory, the info_registers() function should be implemented using
some sort of read register from frame function. Unfortunatly, the
current interfaces are not advanced enough to accomodate this.
See the TODO file for some bad ascii art that explains the problem a
little.
Andrew
prev parent reply other threads:[~2001-02-13 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200102081828.NAA25535@indy.delorie.com>
2001-02-09 5:27 ` Mark Kettenis
2001-02-09 6:58 ` Eli Zaretskii
2001-02-13 13:55 ` Andrew Cagney [this message]
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=3A899388.E03E5CF2@cygnus.com \
--to=ac131313@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@wins.uva.nl \
/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