This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][19/37] Eliminate builtin_type_ macros: Ada range type handling
> So I guess your original proposal to use the range type itself is
> the simplest solution. Implemented by the patch below.
Agreed.
> ChangeLog:
>
> * ada-lang.c (ada_array_length): Use builtin_type_int32 instead
> of builtin_type_int.
> (ada_evaluate_subexp) [UNOP_IN_RANGE]: Use operand range type
> instead of builtin_type_int.
I think we can commit this independently of the rest, right?
--
Joel