This is the mail archive of the
mailing list for the GDB project.
Re: [RFC] Register sets
Date: Thu, 4 Sep 2003 11:13:39 -0400
From: Daniel Jacobowitz <firstname.lastname@example.org>
> >>As for the architecture, supply_regset needs this. It might, for
> >>instance, be an x86-64 method supplying registers to an i386 register
> >It needs the regcache's architecture, but I don't believe it needs any
> >other. The method will be defined for a particular regcache layout,
> >which incorporates all of the information it needs about the other
> >involved architecture. We could get the regcache's architecture from
> >the regcache, or pass it explicitly.
> That's the architecture mark was passing in. The alternative is a
> larger table of regcache X regset maps.
No, Mark was passing in the core's architecture != the regcache's
Indeed I was, and it's the wrong thing to do.