From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OQJ8JW5B+WpIyA4AWB0awg (envelope-from ) for ; Sun, 15 Nov 2026 00:21:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1794720110; bh=PppicXaha/P/BTEvhIGpuMceg8Cc9xpe6rcl+XFvYFs=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=c9ODS+zVSY8msDyU8FRsqphmjAKLiMG6VTcncC8+1b6mMbNPlbHhKZ3qN3HYTp6Rh qvI6UKzNhgzoO2w4VnJaQahvx0/pN0ncnkePNBCkj1Lp9640HCWEQumWD2PxRZ6y2b Wh+V2SrAwzHgSbOntARq9sJ9hF7sTUQ8mRepzJ9k= Received: by simark.ca (Postfix, from userid 112) id 877691E043; Sun, 15 Nov 2026 00:21:50 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.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 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=H7NnLgLQ; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::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 EFCC81E043 for ; Sun, 15 Nov 2026 00:21:49 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 251AB4BA901F for ; Sun, 15 Nov 2026 05:21:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 251AB4BA901F 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=H7NnLgLQ Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id B5EC74BA799A for ; Sun, 15 Nov 2026 05:21:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B5EC74BA799A 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 B5EC74BA799A 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=1794720085; cv=none; b=dBebIs18YppLYTsbjQTvrvVrDZcszHskg5R+tDfp6W3ualvkrmscFQ9QLu2/fLb93E2EcMVMPv2087/3f7v0/UHyfYHyyrRg2as1YOE4Fj58a0YFy84XGHCNNdbytjUP9Kp23vJxiCXv6g0bnhYyvSczDhYldb3zGYuuhHMeC6E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794720085; c=relaxed/simple; bh=PppicXaha/P/BTEvhIGpuMceg8Cc9xpe6rcl+XFvYFs=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=n1WgfUEndRR4GY5MXl3a/Bo8feKnQOStAUSiceMGp06JuI0ryAyezdmbZ4pl8nSNZr9cWupPdZpekilwezy2Wa+17ZzaZtvOMNPh7/XIkvIFru+cLa0QJ+3m0HwYMoza0vSv7oNXL3/4AUIUxx4O4aKxHFZiUdqAmFU4QgFD1dQ= 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=H7NnLgLQ DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5EC74BA799A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1794720085; bh=PppicXaha/P/BTEvhIGpuMceg8Cc9xpe6rcl+XFvYFs=; h=Date:Subject:To:References:From:In-Reply-To:From; b=H7NnLgLQ8BucfAMBvNjOK3k1aAuMbPuEFDMuphNKFvCKnlXV3UwdqIwFKKKGnTmNW oP4+YnPTa+UebVCifhybetrrwpWxpQW+XZXHmy9SYC78+GGy7yZiRKBlRaFXOrITfD gMk567td1tp2fiENyjx3QQ43o6KJw4YBO5SwKPsg= Received: by simark.ca (Postfix) id 167E61E043; Sun, 15 Nov 2026 00:21:25 -0500 (EST) Message-ID: Date: Sun, 15 Nov 2026 00:21:24 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/15] Rename gdb::array_view to gdb::span To: Tom Tromey , gdb-patches@sourceware.org References: <20261111-span-part-1-v2-0-cd4e33a8a723@adacore.com> Content-Language: en-US From: Simon Marchi In-Reply-To: <20261111-span-part-1-v2-0-cd4e33a8a723@adacore.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 2026-11-11 10:58, Tom Tromey wrote: > In the longer term, when gdb switches to C++20, I think we should > replace gdb::array_view with std::span. > > This series moves in that direction. It renames gdb::array_view to > gdb::span and makes a couple of other related changes. It also > removes the operator==, in favor of a standards-esque > gdb::ranges::equal. > > This version of the series lets gdb use the real std::span via an > alias. > > I've built this series with 'g++' and 'g++ -std=c++20'. > > Regression tested on x86-64 Fedora 43. > > Signed-off-by: Tom Tromey This looks fine to me, the only substantial suggestion I made was about span-selftests.c, otherwise the code seems good to me. Approved-By: Simon Marchi Simon