From: Mark Kettenis <kettenis@chello.nl>
To: ac131313@ges.redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa:i386] Add mmx registers
Date: Tue, 13 Aug 2002 15:10:00 -0000 [thread overview]
Message-ID: <200208132210.g7DMA1bT034834@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: <3D598055.1000308@ges.redhat.com> (message from Andrew Cagney on Tue, 13 Aug 2002 17:55:33 -0400)
Date: Tue, 13 Aug 2002 17:55:33 -0400
From: Andrew Cagney <ac131313@ges.redhat.com>
> + set_gdbarch_pseudo_register_read (gdbarch, i386_pseudo_register_read);
> + set_gdbarch_pseudo_register_write (gdbarch, i386_pseudo_register_write);
>
> changes the i386 target's register cache from "legacy" to "new". This
> means that there isn't room for the pseudo registers in
> register_valid_p, yet registers_changed() tries to frob the entries
> for the pseudo registers.
>
> I don't see an obvious way to fix this. Any bright ideas Andrew?
Hmm, yes. It should be clearing:
[0 .. current_regcache->descr->nr_raw_registers)
Clearing the pseudo registers isn't necessary on targets that still
use the legacy stuff?
Mark
next prev parent reply other threads:[~2002-08-13 22:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-10 16:58 Andrew Cagney
2002-08-12 11:10 ` Mark Kettenis
2002-08-12 12:00 ` Andrew Cagney
2002-08-13 7:35 ` Andrew Cagney
2002-08-13 14:39 ` Mark Kettenis
2002-08-13 14:55 ` Andrew Cagney
2002-08-13 15:03 ` Andrew Cagney
2002-08-13 15:10 ` Mark Kettenis [this message]
2002-08-13 15:21 ` Andrew Cagney
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=200208132210.g7DMA1bT034834@elgar.kettenis.dyndns.org \
--to=kettenis@chello.nl \
--cc=ac131313@ges.redhat.com \
--cc=gdb-patches@sources.redhat.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