From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UxaBD6bQSWKKeQAAWB0awg (envelope-from ) for ; Sun, 03 Apr 2022 12:51:50 -0400 Received: by simark.ca (Postfix, from userid 112) id EDED51F327; Sun, 3 Apr 2022 12:51:49 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B27F41E787 for ; Sun, 3 Apr 2022 12:51:48 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 27FEA3864858 for ; Sun, 3 Apr 2022 16:51:48 +0000 (GMT) Received: from qproxy2-pub.mail.unifiedlayer.com (qproxy2-pub.mail.unifiedlayer.com [69.89.16.161]) by sourceware.org (Postfix) with ESMTPS id A16423858C74 for ; Sun, 3 Apr 2022 16:51:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A16423858C74 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from outbound-ss-761.bluehost.com (outbound-ss-761.bluehost.com [74.220.211.250]) by qproxy2.mail.unifiedlayer.com (Postfix) with ESMTP id CAB7B802E002 for ; Sun, 3 Apr 2022 16:51:35 +0000 (UTC) Received: from cmgw15.mail.unifiedlayer.com (unknown [10.0.90.130]) by progateway8.mail.pro1.eigbox.com (Postfix) with ESMTP id 6DB951004A77E for ; Sun, 3 Apr 2022 16:51:05 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id b3RQntslNkku4b3RRnBb3h; Sun, 03 Apr 2022 16:51:05 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=R6XGpfdX c=1 sm=1 tr=0 ts=6249d079 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10:nop_charset_1 a=z0gMJWrwH1QA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=ReAQGP7-sdRExm2tnjoA:9 a=QEXdDO2ut3YA:10:nop_charset_2 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=MYYLACWyjtRFWp56Jc0wj/UxzdWCvWW73376vCaNKeE=; b=ZANXPVKfkjFprpOPTJ+Dl0J0lo raC/30pQEgS1SpR/L//M9fa1eALsCWIBrSXHnSf5cPCZ9vhKVn8oYTNSmRBCP3aWDqXKEFlg8LQpH aAv6t3JrR30F8Cnu6OtKje223; Received: from 71-211-176-135.hlrn.qwest.net ([71.211.176.135]:39588 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nb3RQ-003mnd-Fh; Sun, 03 Apr 2022 10:51:04 -0600 From: Tom Tromey To: Andrew Burgess Subject: Re: [PATCH] Allow non-ASCII characters in Rust identifiers References: <20220126231501.1031201-1-tom@tromey.com> <87y22nwxqb.fsf@tromey.com> <87ee2e87l6.fsf@redhat.com> X-Attribution: Tom Date: Sun, 03 Apr 2022 10:51:03 -0600 In-Reply-To: <87ee2e87l6.fsf@redhat.com> (Andrew Burgess's message of "Sun, 03 Apr 2022 17:17:25 +0100") Message-ID: <87mth26rgo.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.176.135 X-Source-L: No X-Exim-ID: 1nb3RQ-003mnd-Fh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-176-135.hlrn.qwest.net (prentzel) [71.211.176.135]:39588 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Tromey , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Andrew> I'm seeing this test fail. Andrew> $ rustc --version Andrew> rustc 1.59.0 (9d1b2106e 2022-02-23) I installed this version with "rustup toolchain install 1.59.0" and set it to be my default. Andrew> I've tested with gdb commit a723766c0e2 and 5187219460c. I tried 552f1157c6262, a recent-ish git master. It works fine for me. Andrew> Do these pass for you? Any suggestions for where to start looking? I wonder if this line in the .exp isn't having the desired effect: setenv LC_ALL C.UTF-8 Is this happening interactively or in some kind of automation environment? Are the correct locales installed? Do other LC_ALL-setting tests fail? Andrew> print "=C3=B0=C2=AF" Andrew> $1 =3D "=C3=B0\302\235\302\225=C2=AF" One thing I'd suggest is checking by hand if either the 'print' line or the '$1 =3D ' line has the correct byte values for the UTF-8 encoded form of the character in question. Tom