This is the mail archive of the gdb-patches@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: [RFA]: Extend some arithmetic operations to range types.


> 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)

-- 
Joel


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