This is the mail archive of the gdb-patches@sourceware.org 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][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


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