From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by sourceware.org (Postfix) with ESMTPS id 7878E3858414 for ; Fri, 10 Feb 2023 17:26:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7878E3858414 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-x22d.google.com with SMTP id dt8so5059457oib.0 for ; Fri, 10 Feb 2023 09:26:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=nBJL2yNpadvQMZpDkd+h1jA0QIZ4XAvfuvtMhpmcSCc=; b=reKx3gSbmWHjIPxEsXfsR0a3+Z8lyJaqg5LjhADMBzyjGE7JqnnzVUEkV74LAbVGB6 9k+2I+UwMh/zTVdb9nw3a+PgrDF2HlK2RCqzVS9XzW9UQH8d9DytAd82u3TQoLoAR3Hp 7cOhPaSjJqLH7JLKfY9JoSE5sYg6uAKQOwhefxT6peLsmhOrRezEJe+0mifeU9/E7pQD c1EpdPnJMXUIj2F5bjHEY9XFzeFiSoOCJkYE4lf5dfS6aN7cf9e/LMaPdR+vBV42WxNj PdfOLYiQ3Yb93EgBShzkwwDETPWY67sQ2N0dCf6uKR1BADtr6fLALwJomGzluVvTcFq9 vs6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=nBJL2yNpadvQMZpDkd+h1jA0QIZ4XAvfuvtMhpmcSCc=; b=DvwhiZUru7SxAhRj0xTQEJyTW9Cap4jfRS1hxTC5nksUApCYCw0tWa+zK2TXalQRxK 2DEqnnFaNk/MfpFzUjiYkkys4Xrzl7eMM3iOUlST2K4s9fYqShEcB+jFqES7enydmR/j tCaNdpUVsCFCdvSG8o1AL3FLY+8XRe1EUIffpHlRiKiNloNAWRqiUBtfX8CsYWU4xLYZ CJe6Oc2xy9zWVbjHs5EUiMJ8YmHSKzaLTZSGOSmJj4Y8mJwKhCAsMop0Z4lazx1oolTN nLo3I7+BgJMoc94nDvAUG44wSjarR48e/OVCKlTZd+GycbPfbqcmSF/M+uZbqgZUXswa 1f5Q== X-Gm-Message-State: AO0yUKVoCnKprmntDYtFE4AK+aMbor1eXfZ6ISfqGOc77VMjESK4zuQ8 oa2ax+miaeXDLCVQ3kPwbcSyYS38Y4m2GFK0tcw= X-Google-Smtp-Source: AK7set8uUKUMshgDTYagytR0KVy47Y7qyNUZUUB/YlN0QGrGyde5ZjmQdADY05THPvxuOo5tobRFug== X-Received: by 2002:aca:1714:0:b0:36c:e058:9cc with SMTP id j20-20020aca1714000000b0036ce05809ccmr7593707oii.7.1676049993749; Fri, 10 Feb 2023 09:26:33 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:28da:b78d:1a91:908a]) by smtp.gmail.com with ESMTPSA id g8-20020aca3908000000b00377fae9d36csm2339847oia.52.2023.02.10.09.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 09:26:33 -0800 (PST) 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> <87sffdy32p.fsf@tromey.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Thiago Jung Bauermann To: Tom Tromey Cc: Luis Machado via Gdb-patches , Simon Marchi , Luis Machado , Pedro Alves , Andrew Burgess Subject: Re: [PATCH v3 4/8] gdbserver/linux-aarch64: When thread stops, update its target description In-reply-to: <87sffdy32p.fsf@tromey.com> Date: Fri, 10 Feb 2023 17:26:30 +0000 Message-ID: <874jrt2zzt.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.3 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 List-Id: Tom Tromey writes: > 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.) Andrew recommended adding a new feature to the qSupported packet so it would be an optional extension of the remote protocol =E2=80=94 not really = baked into it but rather a complementary muffin. Per-thread target descriptions are also a very generic feature that I can see being useful for heterogeneous computers, though I don't know if there's any actual interest in that in the context of GDB and the remote protocol. --=20 Thiago