From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1HvtC1tiCGV5hRgAWB0awg (envelope-from ) for ; Mon, 18 Sep 2023 10:44:43 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=CHNQCASo; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2723C1E0C3; Mon, 18 Sep 2023 10:44:43 -0400 (EDT) Received: from server2.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 ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 130801E028 for ; Mon, 18 Sep 2023 10:44:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 63DB53857C44 for ; Mon, 18 Sep 2023 14:44:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63DB53857C44 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695048280; bh=ATNL1PFCHSZBRusCZMd5omuC9aeOhpCykl6rp65OxcY=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=CHNQCASoZBKw4XYFMUU1FSxOEpSsjBqvze8+FbXtBSV1umXo7tD/ASzf46n69ttYp UILX5fUgzDnXjmFIlET8PermQopJ/18b0I03SFvK2K4fopvSYMOFM5600D6jlYKxa8 KnJNoCEpa7JlWSBT1NZeJPaYG7andrTE2KjNrZh0= Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by sourceware.org (Postfix) with ESMTPS id 52F1E3858C50 for ; Mon, 18 Sep 2023 14:44:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 52F1E3858C50 Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-794d98181f0so158195939f.2 for ; Mon, 18 Sep 2023 07:44:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695048254; x=1695653054; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ATNL1PFCHSZBRusCZMd5omuC9aeOhpCykl6rp65OxcY=; b=skV3iS6fqd2gI/rKjj1VrjZK+BuaaF/RT472DJUiw/Ar1Q1hTSAHm9DUeq3JMgObko iWwox/smAytWZLRjYUfH8HxHFMxw4F0s0PkRDPigWiABcQfQJBnoFB7hZ5+o3kbR1FEh krjqEGCauSCt4iq/XmC/uFbiv6xz5zZ2ZXAoSvXOsTA+hb152m2PKpgVlor1SLD7EGZd ykZlwNu2OG1BRLKdqQnLPfZ6cejyic+bvWg5ioW4ftdKq2DwfPMotRItopR/yA/XAcem sHrcfhXcdCYmPVMX5Z18uk8/Kc53aVmg8m+WHOOL4OzNjPb59oTpVej3yMVTXa0z3Hye /n2w== X-Gm-Message-State: AOJu0YxzktY8UlI7in2M2G2w/M6YguBgv1C1+SQTt2ZksIu98gMxd5xh REhOxfVhLRnjwIE1/e9um3PdFcZJrXKA80dU/CzFSg== X-Google-Smtp-Source: AGHT+IFBuRuVFr1cI/+KDpS3uxtUwEZ0j9+SyrvTHupqZbIV3mrBfO6z5hvNjt0Dmz93Lv1dUfnIGg== X-Received: by 2002:a92:3005:0:b0:34f:76b8:ea48 with SMTP id x5-20020a923005000000b0034f76b8ea48mr8251828ile.9.1695048254658; Mon, 18 Sep 2023 07:44:14 -0700 (PDT) Received: from murgatroyd (71-211-130-31.hlrn.qwest.net. [71.211.130.31]) by smtp.gmail.com with ESMTPSA id s18-20020a92cc12000000b0034f9a442665sm3102782ilp.63.2023.09.18.07.44.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:44:14 -0700 (PDT) To: Lancelot SIX Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH 1/7] Introduce type-safe variant of gdb_bfd_openr_iovec References: <20230824-gdb-bfd-vec-v1-0-850e4e907ed1@adacore.com> <20230824-gdb-bfd-vec-v1-1-850e4e907ed1@adacore.com> <20230918102849.ksgb4c33dwsqpcjc@octopus> X-Attribution: Tom Date: Mon, 18 Sep 2023 08:44:13 -0600 In-Reply-To: <20230918102849.ksgb4c33dwsqpcjc@octopus> (Lancelot SIX's message of "Mon, 18 Sep 2023 11:29:13 +0100") Message-ID: <87cyyfa6de.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >>>>> "Lancelot" =3D=3D Lancelot SIX writes: >> + auto real_opener =3D (gdb_iovec_opener_ftype *) closure; Lancelot> I=E2=80=AFthink I would have a personal preference toward using s= tatic_cast Lancelot> here, but in this case the C-style cast and static cast are equiv= alent. I made this change. Tom