diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2007-12-20 17:17:21 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2007-12-20 17:17:21 +0000 |
commit | 213e4dc22e5075dce6c0254ec4f4b6a34a2b77a1 (patch) | |
tree | 554bd76294d017e2fa3b5f89d84e2949681015be /gdb/gdbtypes.c | |
parent | 5863b5d5368ca1fb517ee065ab687d8ba2fde354 (diff) | |
download | gdb-213e4dc22e5075dce6c0254ec4f4b6a34a2b77a1.zip gdb-213e4dc22e5075dce6c0254ec4f4b6a34a2b77a1.tar.gz gdb-213e4dc22e5075dce6c0254ec4f4b6a34a2b77a1.tar.bz2 |
* gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
to conform to C extension for decimal float.
* c-lang.c (enum c_primitive_types): Add entries for Decimal Floating
Point types.
(enum cplus_primitive_types): Likewise.
(c_language_arch_info): Add Decimal Floating Point builtin types to
the primitive_type_vector.
(cplus_language_arch_info): Likewise.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 1026305..e42c2f4 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -3122,15 +3122,15 @@ gdbtypes_post_init (struct gdbarch *gdbarch) builtin_type->builtin_decfloat = init_type (TYPE_CODE_DECFLOAT, 32 / 8, 0, - "decimal float", (struct objfile *) NULL); + "_Decimal32", (struct objfile *) NULL); builtin_type->builtin_decdouble = init_type (TYPE_CODE_DECFLOAT, 64 / 8, 0, - "decimal double", (struct objfile *) NULL); + "_Decimal64", (struct objfile *) NULL); builtin_type->builtin_declong = init_type (TYPE_CODE_DECFLOAT, 128 / 8, 0, - "decimal long double", (struct objfile *) NULL); + "_Decimal128", (struct objfile *) NULL); /* Pointer/Address types. */ |