From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 7mPwGNSgEWeMdhEAWB0awg (envelope-from ) for ; Thu, 17 Oct 2024 19:42:12 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=epADtTXm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 535A81E35F; Thu, 17 Oct 2024 19:42:12 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.5 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=4.0.0 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 DEE6D1E05C for ; Thu, 17 Oct 2024 19:42:11 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6954D3858C42 for ; Thu, 17 Oct 2024 23:42:11 +0000 (GMT) Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id A31383858D20 for ; Thu, 17 Oct 2024 23:41:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A31383858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A31383858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729208511; cv=none; b=JZyvJAow/3DRGihrTVSrkUiyO9yn0SlnYhPiy6CGJySyU0ZjnvuS3jRSC0we27lWpBagZlFoGpQUyftz5xsfJmqraJ/wZVPldghU/zlRAaMl4Byv9Rcej3fC2Kz041Vhj02NoJv2tHAYNtVDnEyVQfWiwHLS7lnPD43tArVBcPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729208511; c=relaxed/simple; bh=kWvVi0F9kN0fEXDWlKkuRAdrhDLG6LvlPQeeQCA9aDs=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DSUHNgkZiMQBbZwUKQysAgG56gMGjhecRtcdnu0PzxPsBYPsCCAQ9DyOgciVxoHi1Cc4VKnXEC6L86qXi5r0jOsUjJEnqhct+SSSXblxO3cw7roFRmNX0VVMj8kZWxK4T78i4DfiJPsVAlg6eGjMbv7D50rASGzBAiuTqXBeG94= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5008a.ext.cloudfilter.net ([10.0.29.246]) by cmsmtp with ESMTPS id 1RjltndkLg2lz1a7qt5p7C; Thu, 17 Oct 2024 23:41:50 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 1a7ptQZrfzPxV1a7ptHjUX; Thu, 17 Oct 2024 23:41:49 +0000 X-Authority-Analysis: v=2.4 cv=Apvo3v9P c=1 sm=1 tr=0 ts=6711a0bd a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=DAUX931o1VcA:10 a=ItBw4LHWJt0A:10 a=KKAkSRfTAAAA:8 a=XG7ziq7ew6JEL2uCr3QA:9 a=cvBusfyB2V15izCimMoJ:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: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=ooSv34T1Z+6XGrCvIfTgI2hboQHh7yOUiTqGX7D3GYY=; b=epADtTXm5CCcWlQOLs3hBV77+p exdFeyi6YCwyFAOtMgi3/ePgaZwrXwFTJFTDias2udX4VExXqWinGHCxVPJeqEvDvWjMwUHUy1r3i zukXQlf0WeD/M8pz3fBs+kdkH; Received: from c-67-190-86-1.hsd1.co.comcast.net ([67.190.86.1]:33582 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1t1a7o-001lz4-2g; Thu, 17 Oct 2024 17:41:48 -0600 From: Tom Tromey To: Thiago Jung Bauermann Cc: Tom Tromey , Guinevere Larsen , gdb-patches@sourceware.org, Guinevere Larsen Subject: Re: [PATCH v5 1/5] gdb: make gdbarch store a vector of frame unwinders In-Reply-To: <87v7xydrz5.fsf@linaro.org> (Thiago Jung Bauermann's message of "Fri, 11 Oct 2024 22:34:22 -0300") References: <20241001184235.3710608-1-guinevere@redhat.com> <20241001184235.3710608-2-guinevere@redhat.com> <87iku7hfz5.fsf@tromey.com> <87v7xydrz5.fsf@linaro.org> X-Attribution: Tom Date: Thu, 17 Oct 2024 17:41:47 -0600 Message-ID: <87r08e1emc.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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: 67.190.86.1 X-Source-L: No X-Exim-ID: 1t1a7o-001lz4-2g X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: c-67-190-86-1.hsd1.co.comcast.net (prentzel) [67.190.86.1]:33582 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfBFkm6kLA1ZrXjnIuCJ9YO024MsSK+GD61mhiXFPs6JAyqtTLGAak0jCPN16OyaDyzHQXnIQxbpM6oumd2JeVceNugh4UGIwhdUiW8kedusSCW5tUkNC kdLvxAu/Ja3b2z+Un36Ew8+ew+AC8k8vQgds31lIV1lFcCa+1O/pxiMF72OFpYEGi9t6pvUSZ2rElJ3Mny5bcTM4U7i3eYArZis= 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 >>>>> "Thiago" == Thiago Jung Bauermann writes: Sorry, didn't see this until now. Thiago> Do you think it would be better if the vector was kept in a registry, Thiago> like the current frame_unwind_table is? I.e, changing: Thiago> static const registry::key Thiago> frame_unwind_data; Thiago> to: Thiago> static const registry::key> Thiago> frame_unwind_data; Thiago> ? I tend to think so yes. Tom