Re: [RFC] Register sets

Andrew Cagney
2003-09-09T19:16:50Z

> Andrew Cagney <ac131313@redhat.com> writes:

>> Er, this isn't a closure (at least not in the sense specified on
>> bfd@). Rather this is an object and so might as well be implemented in
>> more of an object style - pass the "struct regset" as the first
>> parameter.
>
>
> Not sure I think the distinction is too meaningful.

Sorry, can you expand?

> You should
> probably post a specific suggestion that shows what you're after.

Take a quick glance at any one of GDB's objects (regcache, gdbarch,
reggroups, serial, ...) and the basic technique should be clear.

Andrew