From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id A4A7D3858D28 for ; Thu, 5 Jan 2023 15:12:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A4A7D3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDRuZ-0004DP-L4; Thu, 05 Jan 2023 10:12:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hwdUw2Li0Rv9BRDOgXs9U20kZrxbHaJ1/VNcdAEu+XQ=; b=pXGaMlVTFqkK axH96U/QD9oXhzWRjqgSxE7mbJS9/A/zxNMsBQ+OtYWHjyr81FlxNvJyEhUHRwOKdgRI+seFs0Mf9 CeEUdpDanOdp8dHNB4bv6IQW6BxnRS/L/BaT05Q5D7l3zr/WatshRHf57RYmNCw/o0yUbzWTdV4gA /WESTbuDbbwrhfPPlho7sKa9gza4qlNDxj8k51Z68vMLoaioGusHahb+o/SZMVOZc4fJYU+++jAq6 BqdH9PiANSOcISutM6I7HHZU4sIzL0y8d7ImKiLPhotWKr84SYHmNA5rbkl7W/kwZLH/uKYTi2as5 sgoylFWFEmQH4nivZ9e00w==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDRuX-0006ZZ-IM; Thu, 05 Jan 2023 10:12:06 -0500 Date: Thu, 05 Jan 2023 17:12:20 +0200 Message-Id: <83o7rdvwvf.fsf@gnu.org> From: Eli Zaretskii To: Christian Biesinger Cc: tom@tromey.com, simark@simark.ca, gdb-patches@sourceware.org, luis.machado@arm.com In-Reply-To: (message from Christian Biesinger on Thu, 5 Jan 2023 09:49:14 -0500) Subject: Re: Two observations using GDB 13 snapshot References: <83h6xugc5v.fsf@gnu.org> <835ye7e9jw.fsf@gnu.org> <87h6xrks77.fsf@tromey.com> <83mt7idacj.fsf@gnu.org> <87fsd4elb2.fsf@tromey.com> <83o7rs4qmg.fsf@gnu.org> <87cz84dasj.fsf@tromey.com> <835ydw20bw.fsf@gnu.org> <87wn6bbi5m.fsf@tromey.com> <83sfgz8m9i.fsf@gnu.org> <87o7rnb0ya.fsf@tromey.com> <83a6368chf.fsf@gnu.org> <87k02aaxc8.fsf@tromey.com> <83wn6a6n21.fsf@gnu.org> <587b899f-0f93-530a-7313-d4e1f9e501b9@simark.ca> <835ydt6jzw.fsf@gnu.org> <83wn63z81w.fsf@gnu.org> <46d7fd4b-d5f0-0007-3e88-20345e0e0584@simark.ca> <831qoayxuu.fsf@gnu.org> <878rii9bg3.fsf@tromey.com> <83fscpxxom.fsf@gnu.org> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > From: Christian Biesinger > Date: Thu, 5 Jan 2023 09:49:14 -0500 > Cc: Tom Tromey , simark@simark.ca, gdb-patches@sourceware.org, > luis.machado@arm.com > > > If it's okay for GDB to compare case-insensitively only ASCII > > characters, then is the above patch mature enough to go to the gdb-13 > > branch? > > If https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangle.name is > up-to-date (?), then > "This ABI does not yet specify a mangling for identifiers containing > characters outside of _A-Za-z0-9." > > On the other hand, if > https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html#punycode-vs-utf-8 > is to be believed, GCC/Clang/MSVC do use UTF-8 for symbol names. But I > don't think strcasecmp on Windows uses UTF-8? No, I think Windows would use UTF-16 instead.