[patch] initial OpenCL C language support

Tom Tromey tromey@redhat.com
Tue Oct 26 13:44:00 GMT 2010


>>>>> "Ken" == Ken Werner <ken@linux.vnet.ibm.com> writes:

Ken> My understanding is that the only additional functionality of
Ken> evaluate_subexp_c is to provide wide character support which is not
Ken> available in OpenCL C. Of course calling evaluate_subexp_c won't
Ken> hurt since evaluate_subexp_standard gets called in most cases but I
Ken> don't see where the OpenCL support could benefit from doing so. Do
Ken> you have an example?

c-exp.y emits a different format for OP_STRING than other parsers.  It
uses write_exp_string_vector, not write_exp_string.  So I misspoke
earlier; I think no string constant will work properly without this
change.

Tom



More information about the Gdb-patches mailing list