Define all basic data types of D and add them to the primitive type
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 17:18:23 +0000 (17:18 +0000)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sat, 18 Jan 2014 18:10:47 +0000 (18:10 +0000)
commit94b1b47ee13476f376feddf808c63560c036cf1b
tree057f147503fdff8195a66016f6140c76b021c2cb
parent6377854769ea85f2dd38aac9a9b11fded61245f3
Define all basic data types of D and add them to the primitive type
language vector.

gdb/ChangeLog:
2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>

    * d-lang.h (struct builtin_d_type): New data type.
    (builtin_d_type): Add declaration.
    * d-lang.c (d_language_arch_info, build_d_types)
    (builtin_d_type): New functions.
    (enum d_primitive_types): New data type.
    (d_language_defn): Change c_language_arch_info to
    d_language_arch_info.
    (d_type_data): New static variable.
    (_initialize_d_language): Initialize d_type_data.

gdb/testsuite/ChangeLog:
2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>

    * gdb.dlang/primitive-types.exp: New file.
gdb/ChangeLog
gdb/d-lang.c
gdb/d-lang.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dlang/primitive-types.exp [new file with mode: 0644]