support C/C++ identifiers named with non-ASCII characters
Tue May 22 15:17:00 GMT 2018
On 05/22/2018 03:32 PM, å¼µä¿è wrote:
> Pedro Alves æ¼ 2018/5/22 ä¸å10:15 å¯«é:
>> I actually already started writing a patch for this a few months
>> back, including a C testcase, after these discussions:
>> Â Â https://sourceware.org/ml/gdb-patches/2017-11/msg00428.html
>> Â Â https://sourceware.org/ml/gdb/2017-11/msg00022.html
>> Let me try to find it.Â I don't recall exactly where I left off,
>> but I think I had something working.
> I just started writing a test case when I saw your letter.
> Could you shed light on how you delimit identifiers in your patch, Pedro? Does it check all invalid non-ASCII characters, is it dedicated to some encoding such as UTF-8, or to any encodings?
I found the patch. Let me rebase it and send it / post it. It'll
be easier to just look at the patch.
More information about the Gdb-patches