gdb/

    * d-lang.h (d_main_name, builtin_d_type): Add declarations.
    (struct builtin_d_type): New data type.
    * d-lang.c (d_main_name, d_language_arch_info)
    (build_d_types, builtin_d_type): New functions.
    (enum d_primitive_types): New data type.
    (d_language_defn): Update to use d_language_arch_info and
    macro_expansion_no.
    (d_type_data): New static variable.
    (_initialize_d_language): Initialize d_type_data.
    * symtab.c (find_main_name): Add call to d_main_name.