This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Preserve typedef layer when getting struct element
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre-Marie de Rodat <derodat at adacore dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 3 Apr 2015 10:37:57 -0700
- Subject: Re: [PATCH 1/2] Preserve typedef layer when getting struct element
- Authentication-results: sourceware.org; auth=none
- References: <551E8B6D dot 4070706 at adacore dot com>
> gdb/ChangeLog:
>
> * ada-lang.c (ada_is_tagged_type): Add call to ada_check_typedef.
> (ada_lookup_struct_elt_type): Remove calls to ada_check_typedef.
> (template_to_static_fixed_type): Call ada_check_typedef only
> when necessary.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.ada/rec_comp: New testcase.
>
> No regression on x86_64-linux. Ok to push?
Thanks, Pierre-Marie. This one looks good and can be checked in
on its own.
--
Joel