From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ffDKKh3w2GolFwYAWB0awg (envelope-from ) for ; Wed, 21 Oct 2026 13:02:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792602141; bh=huH5631LD+O/rA/87LX1p7SQu7ub5fuE3nXoDVf7NhA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Og9pi6YBjKh23x/YSZzHol9TxDo283WFaMph77tOaz2r9LEpaCEYomfMvdENQ5ouN j4loG0HLyD8VAdCvF3cYdke8euxEgoUFB0Eirh66H506T46Doem8LGsipxgiiJuXfp lcR0OIdfBExn6F52UICylPa4GBFk5yOfaKGDLbe4= Received: by simark.ca (Postfix, from userid 112) id 97CBA1E051; Wed, 21 Oct 2026 13:02:21 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=a3VWneEE; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EE3F21E04D for ; Wed, 21 Oct 2026 13:02:20 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ADD524BA23EA for ; Wed, 21 Oct 2026 17:02:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADD524BA23EA Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=a3VWneEE Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 6614F4BA2E16 for ; Wed, 21 Oct 2026 17:01:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6614F4BA2E16 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6614F4BA2E16 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792602115; cv=none; b=X5N1+Hd2pNu+Kff/ZcEtNRTnlEbtnNCSCzbi5Ypazm/bbPClDEo6FFLYFPRQ1pQ9E0E14+Hee2NeJO46z7C0Ov0zQL8KI468cDGioRhIzGSas/GqPpBh9nrq5pt8iUU3TrUSh2mbgTEuQvg2nuxnopsTaBAbENjxjJiH5CqsSIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792602115; c=relaxed/simple; bh=huH5631LD+O/rA/87LX1p7SQu7ub5fuE3nXoDVf7NhA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=tccR3XGp/aq1irmAYfsH+BY6QPV++uczuwqcQKP/sK8eod0LdMftXQRVdI7XM1h/TXCcBRMqZaj11KIXQSj9OHaTQBnapjeGdjqESqA/C1m0dFrydrXuxCCZQQhNbQa0qvYQJ8FhTTIoKJLtY9VrdE1WEyhHAy2/WM++S0KoYWY= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=a3VWneEE DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6614F4BA2E16 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792602113; bh=huH5631LD+O/rA/87LX1p7SQu7ub5fuE3nXoDVf7NhA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a3VWneEEwLUe438hpA0vJrV7JQOrpzamZPGLbNKnHconHFiJVK41dbQ8kna62RZmm Wl88WbAqqJVLPo/359fHSkuKFFv1qwsvxGMo/1YNUxxEvDgVVO0Yplyr984nOnfKqd o46+owd3snHsCFoChN6TYzyUsx4WgIE7HTkPUl8w= Received: by simark.ca (Postfix) id 41E9E1E04D; Wed, 21 Oct 2026 13:01:53 -0400 (EDT) Message-ID: <901d45a4-7942-4258-ae4a-9daa2b5e5a6e@simark.ca> Date: Wed, 21 Oct 2026 13:01:52 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/13] gdb: check exact results in the canonicalize selftest To: Tom Tromey Cc: Simon Marchi , gdb-patches@sourceware.org References: <20261020162054.2140671-1-simon.marchi@efficios.com> <20261020162054.2140671-7-simon.marchi@efficios.com> <87wlrbyt86.fsf@tromey.com> <874iefyou5.fsf@tromey.com> Content-Language: fr From: Simon Marchi In-Reply-To: <874iefyou5.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 10/21/26 12:56 PM, Tom Tromey wrote: > Simon> I think that the rest of GDB cares to some extent what the canonical > Simon> for is. The functions that work with canonicalized names as inputs need > Simon> to know what they could possibly encounter. > > Yeah, I think it would be better if they didn't. > > Though maybe we're already in trouble here due to the builtin type stuff > doing: > > builtin_type->builtin_unsigned_short > = init_integer_type (alloc, gdbarch_short_bit (gdbarch), > 1, "unsigned short"); > > ... where "short unsigned" is a valid spelling as well. What do you mean by that? Simon