Hi, This patch implements initial GDB support for the OpenCL C Programming Language. Since OpenCL is based on C99 I tried to reuse GDBs C infrastructure where possible (expression parser, printing routines, etc). The patch basically adds "opencl" to the list of known source level languages. The built-in scalar and vector data types specified by OpenCL including the 3- component vectors defined by version 1.1 as well as the half- and double- precision floating point data types of the cl_khr_fp16 and cl_khr_fp64 OpenCL extensions are implemented. The operators specified by section 6.3 are covered. Vector component access as specified by section 6.1.7 of OpenCL including the access as lvalue (where possible) is also part of this patch. The GDB testsuite has been enhanced to detect OpenCL support and testcases have been added to test the features mentioned above. This patch is meant to be applied on top of these patches: http://sourceware.org/ml/gdb-patches/2010-10/msg00289.html http://sourceware.org/ml/gdb-patches/2010-10/msg00031.html http://sourceware.org/ml/gdb-patches/2010-10/msg00297.html Any comments are appreciated. Regards Ken Werner