This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, spu] Detect OpenCL program executables


On Fri, 25 Jun 2010 19:40:51 +0200, Ulrich Weigand wrote:
> 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.

On 32bit hosts with --enable-64-bit-bfd --enable-targets=all it causes:

solib-spu.c: In function ‘append_ocl_sos’:
solib-spu.c:130: error: format ‘%lx’ expects type ‘long unsigned int’, but argument 4 has type ‘CORE_ADDR’


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]