* ada-lang.c (static_unwrap_type): Add forward declaration.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 3 Jan 2008 13:11:51 +0000 (13:11 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 3 Jan 2008 13:11:51 +0000 (13:11 +0000)
commitf192137b09a5f99ef0ab14f19cb7160871f25963
treee2de2ee66ae96bb0432f5d40e68822bcae4f6937
parent1ed6ede0102f09c717fb707bd27e7d224c77f9ef
    * ada-lang.c (static_unwrap_type): Add forward declaration.
        (template_to_static_fixed_type): Fields of dynamic types sometimes
        also need to be unwrapped. Take this into account.
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
        * ada-typeprint.c (ada_print_type): Get the typename from
        the original type, not the base type.
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-typeprint.c