This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Extend some arithmetic operations to range types.
On Fri, Mar 26, 2004 at 11:03:34AM -0800, Joel Brobecker wrote:
> > Is there something clearer you can call this? "base" to me means "as
> > in inheritance", which is not really appropriate here.
>
> How about using the dwarf-2 terminology: basis_type? That's how they
> call the type on which the range type is based:
>
> The subrange entry may have a DW_AT_type attribute to describe
> the type of object, called the basis type, of whose values this
> subrange is a subset.
>
> (base type is the equivalent in Ada terminology)
Well, if I'm right that all we need is the predicate, we could probably
just use integral_type_p?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer