diff options
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r-- | gdb/opencl-lang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c index 9a3c6d7..47f6554 100644 --- a/gdb/opencl-lang.c +++ b/gdb/opencl-lang.c @@ -926,11 +926,11 @@ public: BUILD_OCL_VTYPES (long, el_type); el_type = add (init_integer_type (alloc, 64, 1, "ulong")); BUILD_OCL_VTYPES (ulong, el_type); - el_type = add (arch_float_type (gdbarch, 16, "half", floatformats_ieee_half)); + el_type = add (init_float_type (alloc, 16, "half", floatformats_ieee_half)); BUILD_OCL_VTYPES (half, el_type); - el_type = add (arch_float_type (gdbarch, 32, "float", floatformats_ieee_single)); + el_type = add (init_float_type (alloc, 32, "float", floatformats_ieee_single)); BUILD_OCL_VTYPES (float, el_type); - el_type = add (arch_float_type (gdbarch, 64, "double", floatformats_ieee_double)); + el_type = add (init_float_type (alloc, 64, "double", floatformats_ieee_double)); BUILD_OCL_VTYPES (double, el_type); add (init_boolean_type (alloc, 8, 1, "bool")); |