Re: support C/C++ identifiers named with non-ASCII characters

張俊芝
2018-05-22T14:33:16Z

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.
>
> Thanks,
> Pedro Alves
>

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?