This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Ada simplification: ada_find_any_type
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 15 May 2009 17:14:29 +0200
- Subject: Re: [rfc] Ada simplification: ada_find_any_type
- References: <200905141138.n4EBcT3v005484@d12av02.megacenter.de.ibm.com>
>
> * ada-lang.c (ada_find_any_type): Move check for primitive types ...
> (to_fixed_range_type): ... to here.
Looks OK as well.
Would you mind extending the description of ada_find_any_type to
say that it does not search the primitive types? Otherwise, I'm afraid
that we might come across a situation one day where we want to search
the primitive types after a call to that function, and add it back
in that function because we weren't paying attention...
Thanks a lot,
--
Joel