This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: New function to supply only one x87 register
Mark Kettenis wrote:
> I just posted a message to the discussion list on this subject. And
> no, I don't thing that the target end should cache the registers,
> since that would be duplicating what the existing register cache is
> already capable of. I can see why the DJGPP port works the way it
> does and caches the registers, but IMHO its way of handling things is
> the exception to the way a UNIXoid OS handles this stuff.
To follow up on my other e-mail. The method
target->fetch_regisers(RAWNUM) is expected to at supply a value for at
least REGNUM (or failing that, provide a dummy value and mark it as
unavailable).
enjoy,
Andrew