Hi, OpenCL kernels are compiled and loaded at runtime but there is no way for GDB to detect that. The problem is similar to the handling of dynamic shared libraries. Unfortunately no such mechanism exists for OpenCL programs on the SPU. This patch extends the SPU solib code to append OpenCL programs to the list of `struct so_list' objects. As OpenCL programs are loaded dynamically, the OpenCL run-time cooperates with GDB and calls __opencl_program_update_event whenever a kernel is loaded and notifies the debugger on where the code resides in memory. This approach is very similar on how GDB communicates with libspe to handle SPU programs. Regards, -ken