This is the mail archive of the
mailing list for the GDB project.
Re: Register group proposal
Nick Duffek wrote:
> >Even if it isn't made an object could I suggest the convention of a
> >...._REGGROUP() be adopted to all methods that return a register group.
> Yes, that's helpful for supporting Stephane's idea of using register
> groups for purposes other than display, e.g. fetching and storing.
Since REGGROUP is bound to a frame and _not_ the raw register cache, it
wouldn't be directly applicable to what Stephane was suggesting.
For an existing example of this unfortunate confusion of layers (and how
it goes wrong) have a look at RAW_REGISTER_BYTES() and how code much of
the code manipulating a frame's cooked/pseudo registers (incorrectly)