OSDN Git Service

* 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)
commite556198a120b8b33819f30dac515f046cb2ecaa6
treea140b012504ce1b00dbae3783428f2d42f1acff5
parentcabb1507a61010f6723ec96e4a23eba9c5ec1138
    * 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