Register group proposal

Andrew Cagney ac131313@cygnus.com
Thu Feb 22 08:16:00 GMT 2001


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.

Just FYI,

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)
uses it.

enjoy,
	Andrew



More information about the Gdb mailing list