* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 21 Feb 2011 15:53:10 +0000 (15:53 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Mon, 21 Feb 2011 15:53:10 +0000 (15:53 +0000)
commitc9def01dfcb63c3970dd99274d44597045ee7fc2
tree51bf8b9610352e9d5a39bd79e0b90250599f77ab
parente3039479e46e9f44694c705075f068a196b390e2
* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
(struct builtin_opencl_type): Remove.
(builtin_opencl_type): Change return type to "struct type **".
(lookup_opencl_vector_type): Update caller.
(opencl_language_arch_info): Copy primitive type vector from gdbarch.
(build_opencl_types): Install plain array of "struct type *"
instead of "struct builtin_opencl_type".
gdb/ChangeLog
gdb/opencl-lang.c