From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UOH6FAhd5mPsNC8AWB0awg (envelope-from ) for ; Fri, 10 Feb 2023 10:04:40 -0500 Received: by simark.ca (Postfix, from userid 112) id 52CF81E221; Fri, 10 Feb 2023 10:04:40 -0500 (EST) 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=p1swNbc+; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0A1951E112 for ; Fri, 10 Feb 2023 10:04:40 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B9FBE385841A for ; Fri, 10 Feb 2023 15:04:38 +0000 (GMT) Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by sourceware.org (Postfix) with ESMTPS id B382D3858D28 for ; Fri, 10 Feb 2023 15:04:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B382D3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from cmgw13.mail.unifiedlayer.com (unknown [10.0.90.128]) by progateway3.mail.pro1.eigbox.com (Postfix) with ESMTP id 321D010040C3E for ; Fri, 10 Feb 2023 15:04:17 +0000 (UTC) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTP id QUwjpSDlcNX2aQUwjpD8qO; Fri, 10 Feb 2023 15:04:17 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=NMAQR22g c=1 sm=1 tr=0 ts=63e65cf1 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=m04uMKEZRckA:10:nop_rcvd_month_year a=Qbun_eYptAEA:10:endurance_base64_authed_username_1 a=uPBSIhY3gKVrpRgZS4kA:9 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:In-Reply-To:Date:References :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=mRRgC5PxCxaD3i9RD6uWJ0lQiiveJ5P2X2EGpU7GHr0=; b=p1swNbc+T/H1VK3HV+ke5kEaxd Ivi/Nps2/pjFE+Yj0nAursU6rZ6VgPH5+S7/P++NBOEr/u7ZnvSW5o3q1NSQ0uk7jjzwj9uewFpYF YOLidUcP1vmToTynxiMnma4dp; Received: from 75-166-130-93.hlrn.qwest.net ([75.166.130.93]:36628 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pQUwi-003K7U-Ot; Fri, 10 Feb 2023 08:04:16 -0700 From: Tom Tromey To: Luis Machado via Gdb-patches Cc: Thiago Jung Bauermann , Simon Marchi , Luis Machado , Pedro Alves , Andrew Burgess Subject: Re: [PATCH v3 4/8] gdbserver/linux-aarch64: When thread stops, update its target description References: <20230130044518.3322695-1-thiago.bauermann@linaro.org> <20230130044518.3322695-5-thiago.bauermann@linaro.org> <87pmattzjw.fsf@redhat.com> <7970ac03-1123-d5f6-7b17-808832d43be6@simark.ca> <9a85e2fe-078a-e2ee-7e49-53fe0ceef492@arm.com> <87y1pgaib6.fsf@linaro.org> <3f4e3603-59e3-a896-72e4-d692646c4e44@palves.net> <87v8kd9odi.fsf@linaro.org> <87cz6i2o6x.fsf@linaro.org> <9864aa2b-f3cc-94ae-0785-5565cc990006@arm.com> X-Attribution: Tom Date: Fri, 10 Feb 2023 08:04:14 -0700 In-Reply-To: <9864aa2b-f3cc-94ae-0785-5565cc990006@arm.com> (Luis Machado via Gdb-patches's message of "Fri, 10 Feb 2023 14:56:51 +0000") Message-ID: <87sffdy32p.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 75.166.130.93 X-Source-L: No X-Exim-ID: 1pQUwi-003K7U-Ot X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-130-93.hlrn.qwest.net (murgatroyd) [75.166.130.93]:36628 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 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 Sender: "Gdb-patches" Luis> But it is also a larger effort that has to revamp some things in Luis> gdb's type system to allow for sizeless types, and that also has Luis> implications in other areas of gdb. I doubt I understand the problem here, but we do have dynamic types and dynamic type resolution now. This lets you express a type's size, offsets of members, and even fields (via variant parts) by referring to other members of the object. Luis> I'd be happy with an intermediate solution like what Thiago put Luis> together. It would solve a long-standing issue for SVE and Luis> gdbserver and it seems simpler at this point, plus Thiago already Luis> put the effort to write the code. I haven't followed this discussion, but with the remote protocol, whatever we do now will be baked in forever. So, it's worth spending extra time up front to get a really solid approach. (I'm not saying this isn't, just pointing out that there's a long-term cost.) Tom