This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Register sets


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]