From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10515 invoked by alias); 21 May 2018 18:00:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10431 invoked by uid 89); 21 May 2018 18:00:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=1.7 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:a67-v6s, =e5=af=ab=e9?= X-HELO: mail-wm0-f41.google.com Received: from mail-wm0-f41.google.com (HELO mail-wm0-f41.google.com) (74.125.82.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 May 2018 18:00:30 +0000 Received: by mail-wm0-f41.google.com with SMTP id a67-v6so26571936wmf.3 for ; Mon, 21 May 2018 11:00:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TwH1RABPWnXbxpOCm3lQ6jrRaFf1R/gOKizh26vNIZE=; b=LwRyvRhAMQuxiQkJBxc4CggGcZX+4KpUY2bcnl3w7jLY2QYKp4pXNZKyKCLxCc8Ene nsHnDNBUl0Ej01/S1d8algJX1CTvGCrdKXPN0rKaGwpR2XsENGmH6nEX90dfNgUE3scZ VVoJUJMDWTeYzX1KhKfNHALJsh4j4xBsnamjrSLhyoUfzhtstQnJO/Hlcr9TXjjxxIC5 hg3cnrttQWNr4OLA5Lagtl3z757h83vJfimdIObHBEfGCrLZek1Lfwsv6yH3obs2k8ci 2oq/ooHl8jpQ+ieZPD0j7UvUwT7gmpyfO26bwLR4Blkgc3ZeTdksFwdWOprOgrKm2ezf jJQQ== X-Gm-Message-State: ALKqPwfV6JrOxsGa3z3oc3O16sujlv4BAKCxzrmp2Kpq7k6v607EsJtj XgSlVCdVDztAnsciKudJ0gesGIuKcX/T4pkN7pxWWw== X-Google-Smtp-Source: AB8JxZo6P7WNKBTlTJZPv9ql+c8zz5r82h14GgrJ35f2IZ4caTqUYsP6C9XvMwLlt23GHrxBnI0Xr1arTyflij4oN70= X-Received: by 2002:a50:b119:: with SMTP id k25-v6mr25297030edd.217.1526925626312; Mon, 21 May 2018 11:00:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.153.122 with HTTP; Mon, 21 May 2018 11:00:25 -0700 (PDT) In-Reply-To: <32da087b-da41-7414-3a56-f2e4587fe287@zjz.name> References: <9418d4f0-f22a-c587-cc34-2fa67afbd028@zjz.name> <8c8af079-dbb8-207b-5edf-86b99e9f5db8@simark.ca> <1b915196-3e97-4892-7426-be4211fe7889@zjz.name> <32da087b-da41-7414-3a56-f2e4587fe287@zjz.name> From: Matt Rice Date: Mon, 21 May 2018 18:14:00 -0000 Message-ID: Subject: Re: support C/C++ identifiers named with non-ASCII characters To: =?UTF-8?B?5by15L+K6Iqd?= Cc: Simon Marchi , "gdb-patches@sourceware.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00499.txt.bz2 On Mon, May 21, 2018 at 10:45 AM, =E5=BC=B5=E4=BF=8A=E8=8A=9D wrote: >> >> >> Simon Marchi =E6=96=BC 2018/5/21 =E4=B8=8B=E5=8D=8810:03 =E5=AF=AB=E9=81= =93: >>> >>> Could you please write a small test case in testsuite/gdb.base with the >>> example >>> you gave, so we make sure this doesn't get broken later? If you can >>> write it >>> in such a way that both clang and gcc understand it would be better, >>> because >>> most people run the testuite using gcc to compile test programs. >>> > Oops, sorry, Simon, I forgot the test part in the second upload. > > Clang is compatible with the GCC workaround \uXXXX. So I will write the t= est > case in that format. > > But it's late here, I will do it tomorrow. Just FYI, there is another bug in this area, which i had noticed that occurs when trying to tab complete symbols using GCC's \uXXXX. It seems like an issue in another place where gdb is not aware of the encoding. https://sourceware.org/bugzilla/show_bug.cgi?id=3D18226