gdb/ChangeLog
2011-02-15 Ken Werner <ken.werner@de.ibm.com> * opencl-lang.c (build_opencl_types): Set the size of the built-in bool data type to a size of one byte. gdb/testsuite/ChangeLog 2011-02-15 Ken Werner <ken.werner@de.ibm.com> * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
This commit is contained in:
parent
d58a192976
commit
648cd113ef
4 changed files with 12 additions and 3 deletions
|
@ -1172,7 +1172,7 @@ build_opencl_types (struct gdbarch *gdbarch)
|
|||
= arch_float_type (gdbarch, 64, "double", floatformats_ieee_double);
|
||||
BUILD_OCL_VTYPES (double);
|
||||
builtin_opencl_type->builtin_bool
|
||||
= arch_boolean_type (gdbarch, 32, 1, "bool");
|
||||
= arch_boolean_type (gdbarch, 8, 1, "bool");
|
||||
builtin_opencl_type->builtin_unsigned_char
|
||||
= arch_integer_type (gdbarch, 8, 1, "unsigned char");
|
||||
builtin_opencl_type->builtin_unsigned_short
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue