[lldb-dev] proposed change to remove conditional WCHAR support in libedit wrapper
Neal Sidhwaney via lldb-dev
lldb-dev at lists.llvm.org
Wed Jul 14 21:32:01 PDT 2021
Thank you for the info and for checking the Linux build. I unfortunately do not know much about locale issues on Linux, but I tested your change with mine on OS X and it worked for all the inputs I tried.
Neal
> On Jul 11, 2021, at 2:11 AM, Jan Kratochvil <jan.kratochvil at redhat.com> wrote:
>
> On Sat, 10 Jul 2021 10:51:34 +0200, Neal Sidhwaney via lldb-dev wrote:
>> Anyone else think this could be useful? Or, conversely, does anyone see
>> something that I missed that requires the conditional compilation to remain
>> in?
>
> Oldest platform Red Hat builds LLDB on is RHEL-7 (and its copies) and it
> already contains el_winsertstr and your branch builds fine there.
> https://copr.fedorainfracloud.org/coprs/jankratochvil/lldb/build/2321456/
>
> OTOH the wide character does not work there and even not on Fedora 34 x86_64:
> typing: žščř
> (lldb) \U+017E\U+0161\U+010D\U+0159
> error: 'žščř' is not a valid command.
> typing: áéíóůúý
> (lldb) \U+016F
> error: 'ů' is not a valid command.
>
> While mariadb client works fine on Fedora 34 x86_64:
> MariaDB [(none)]> žščřáéíóůúý;
> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'žščřáéíóůúý' at line 1
>
> Do you have an idea what can be wrong in LLDB?
>
>
> Thanks,
> Jan
>
More information about the lldb-dev
mailing list