This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, spu] Detect OpenCL program executables
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: ken at linux dot vnet dot ibm dot com (Ken Werner)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 25 Jun 2010 19:40:51 +0200 (CEST)
- Subject: Re: [patch, spu] Detect OpenCL program executables
Ken Werner wrote:
> 2010-06-25 Ken Werner <ken.werner@de.ibm.com>
>
> * solib-spu.c: Include "exception.h".
> (ocl_program_data_key): New variable.
> (append_ocl_sos): New function.
> (ocl_enable_break): Likewise.
> (spu_current_sos): Call append_ocl_sos.
> (spu_solib_loaded): Call ocl_enable_break.
> (_initialize_spu_solib): Register ocl_program_data_key.
This is OK. I've checked the patch in.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com