This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: New branch created for "available features" support
- From: "Jim Blandy" <jimb at red-bean dot com>
- To: gdb at sourceware dot org
- Date: Fri, 3 Mar 2006 14:36:22 -0800
- Subject: Re: New branch created for "available features" support
- References: <20060303213507.GA20474@nevyn.them.org>
So a "feature" would be something like "SSE", or "MMX" with the
additional SSE registers, and then a "feature set" would be something
like "Pentium MMX" or "Pentium 3", referring to the appropriate
individual feature sets?
I understand why you want to supply base register numbers in feature
sets, rather than features; it makes it possible to share features.
But if we're going to have other sorts of features as of yet
unimagined, they may or may not expect a base register number as a
parameter. That is, you've tied something specific to register banks
to your <feature> entities.
I'd say, rename <feature> to <register-set>. Introduce new,
appropriately named kinds of entities for new kinds of features. That
way, you can look at the tag and know what sorts of parameters it
expects.