From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id C11EB3858D32 for ; Mon, 16 Oct 2023 14:41:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C11EB3858D32 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 C11EB3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697467294; cv=none; b=r8wG0AyXTRzey7rPtlko3ybYlyYr1BjsOPYUHDZd/11na1WsJH2XwPmBNjsfIoEFny2piD3wFpom6ryv4fUfcdIWrRDVWNjSQJGqRV6JWZR6eUhSALtdyJZuBtVk5BmN+guHxkvrsA2NcdteyZaOS5A/EGbUIgmd7JaIQEuLPSU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697467294; c=relaxed/simple; bh=1R2sQB0SrVYF79czxaXzjMHJOEjcAfPs/X1Gwd/++eM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=k5LMv/oDigblVa1xXSnFJKYFuwBDbyz/7YHulUDXJHh2omRa3TK28r4qA+En2SL/SxlpGKtk09F1uf0Oiu71ZTUV6aptbIt9RorkcOk7aM439VEBghMdo0mlA3HA6IFvtqJHrIIC7kLiwmlFoM+evHN1O9lxLEvKqrcvfITBKLc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6007a.ext.cloudfilter.net ([10.0.30.247]) by cmsmtp with ESMTP id s12BqxqrTaLCxsOmfqztpL; Mon, 16 Oct 2023 14:41:29 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id sOmeqNDPtdfPfsOmeqJxxf; Mon, 16 Oct 2023 14:41:28 +0000 X-Authority-Analysis: v=2.4 cv=MZZ/Brzf c=1 sm=1 tr=0 ts=652d4b98 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=bhdUkHdE2iEA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=-WtcNtPNddeH-x9CRoYA:9 a=zZCYzV9kfG8A:10 a=ul9cdbp4aOFLsgKbc677: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: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=XhZTQ5riycOqWk7+Ivnp5ieGMHMZ9PQ5kcdtX6q1E88=; b=B/nDHQc19U50/wM27i8v9FBX9S bsk9bXV/kEbXfiTl/AH6cPylwoRa7pPe8o2iS3kM1aB/so6rV6T3CYq5jSEpkJ6Qt7Y0SRmUnVPBl 8uMhJdJecNNBkCHAtHtJ5dNXj; Received: from 71-211-130-31.hlrn.qwest.net ([71.211.130.31]:35378 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qsOmd-002W9x-2K; Mon, 16 Oct 2023 08:41:27 -0600 From: Tom Tromey To: Alexandra Petlanova Hajkova via Gdb-patches Cc: Tom Tromey , Alexandra Petlanova Hajkova Subject: Re: [PATCH] Add DAP scope cache References: <20231002183615.161787-1-tromey@adacore.com> X-Attribution: Tom Date: Mon, 16 Oct 2023 08:41:26 -0600 In-Reply-To: (Alexandra Petlanova Hajkova via Gdb-patches's message of "Tue, 3 Oct 2023 14:16:48 +0200") Message-ID: <87zg0isk89.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: 71.211.130.31 X-Source-L: No X-Exim-ID: 1qsOmd-002W9x-2K X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-130-31.hlrn.qwest.net (murgatroyd) [71.211.130.31]:35378 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfKeLBrE3lgnx7Jsk2M6LP9Du1woRS/SzyCdAXK/bj76njYS+G63XhqVYC2yXyewSP788vtjJ4gWmpJhLx9hVAz0+sl58G5PdgtSGv2LUIDl5/wuygRMA gux1breBHtebl0L4BE0Nm4ZDcDpUTXJuGyW3zK7Db/+bZPtGKs79h2WKVTS5slktoUx3d2Pd0Lg0x3meNjhbTQirKKabCqHaewU= X-Spam-Status: No, score=-3018.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,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: >>>>> "Alexandra" == Alexandra Petlanova Hajkova via Gdb-patches writes: >> Andry Ogorodnik, a co-worker, noticed that multiple "scopes" requests >> with the same frame would yield different variableReference values in >> the response. >> >> This patch adds a regression test for this, and adds a scope cache in >> scopes.py, ensuring that multiple identical requests will get the same >> response. Alexandra> I tested this on ppc64le (Power 10) with Fedora Rawhide and I can confirm Alexandra> there're no regressions and the gdb.dap/scopes.exp all passes. Thanks. I've added a Tested-By with your email, and I'm going to check this in. I'm also going to push it to the gdb 14 branch -- I plan to do this with the DAP fixes generally, since it is a new feature. Tom