mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user