Trust PAD types instead of using PAD___XVS.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 18 Jan 2010 10:24:26 +0000 (10:24 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 18 Jan 2010 10:24:26 +0000 (10:24 +0000)
commit5bf03f13872d723bf34d63d622cf277eb76523e7
treefa9be116ce54a329f63737618d59592197cfd2cf
parent22eb4b1d8df44f40787b7814dfd2724cb12e3a5b
    Trust PAD types instead of using PAD___XVS.
        * ada-lang.c (trust_pad_over_xvs): New static variable.
        (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
        parallel XVS type, follow the XVS type instead of the PAD type.
        (unwrap_value): Make sure that there is no parallel XVE type
        before returning the value as is.
        (set_ada_list, show_ada_list): New static variables.
        (set_ada_command, show_ada_command): New functions.
        (_initialize_ada_language): Add new "set/show ada" prefix commands.
        Add new "set/show ada trust-PAD-over-XVS" setting.
gdb/ChangeLog
gdb/ada-lang.c