[RFC] Register sets

Andrew Cagney ac131313@redhat.com
Tue Sep 9 19:16:00 GMT 2003


> 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




More information about the Gdb mailing list