[PATCH 1/2] Preserve typedef layer when getting struct element
Joel Brobecker
brobecker@adacore.com
Fri Apr 3 17:38:00 GMT 2015
> 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
More information about the Gdb-patches
mailing list