From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bRhAKIfD62KWlSAAWB0awg (envelope-from ) for ; Thu, 04 Aug 2022 09:03:03 -0400 Received: by simark.ca (Postfix, from userid 112) id 936591EA05; Thu, 4 Aug 2022 09:03:03 -0400 (EDT) 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=ErJhoy/T; 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=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham 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 409ED1E9EB for ; Thu, 4 Aug 2022 09:03:03 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1CFC2385BC13 for ; Thu, 4 Aug 2022 13:03:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CFC2385BC13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1659618182; bh=Q5X40KbF2iK6F0twxU7NTvYF+MYKPg702/ZuBzwgqL4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=ErJhoy/TUEHiXOWXAlgSiYF9foIpav4xxrcCVVvAWpsrNP3uBuohXFx0VM2OhRXAE Gub9Qu//35ZtICCrcCVvGhbXFq7U3D2j03oFG5ACJi7xCKZvqd495R2ElgaNO81dg3 IH+iQ0iL4NdzUUFxfwvNw2EL/nDfJUCUPTAV7xog= Received: from lndn.lancelotsix.com (vps-42846194.vps.ovh.net [IPv6:2001:41d0:801:2000::2400]) by sourceware.org (Postfix) with ESMTPS id 148D4385AC0A for ; Thu, 4 Aug 2022 13:02:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 148D4385AC0A Received: from octopus.. (unknown [IPv6:2a01:e0a:535:2750:508f:a0d5:5691:a9a3]) by lndn.lancelotsix.com (Postfix) with ESMTPSA id 29A6788AFA; Thu, 4 Aug 2022 13:02:38 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Varobj re_set clanup Date: Thu, 4 Aug 2022 14:02:28 +0100 Message-Id: <20220804130231.2126565-1-lancelot.six@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (lndn.lancelotsix.com [0.0.0.0]); Thu, 04 Aug 2022 13:02:38 +0000 (UTC) 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: , From: Lancelot SIX via Gdb-patches Reply-To: Lancelot SIX Cc: lsix@lancelotsix.com, Lancelot SIX Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" This series is a follow-up to this series: https://sourceware.org/pipermail/gdb-patches/2022-August/191172.html Patch 1 of the original series has already been merged. Patch 2 of the original series is replaced by patch 2 of this series which is much cleaner. Patch 1 and 3 are meant to simplify varobj lifecycle. All feedbacks are welcome. Best, Lancelot. Lancelot SIX (2): gdb/varobj: Do not invalidate locals in varobj_invalidate_iter gdb/varobj: Only re-evaluate invalid globals durin re_set Tom de Vries (1): gdb/varobj: Reset varobj after relocations have been computed gdb/symfile.c | 6 +-- .../gdb.mi/mi-var-invalidate-shlib.exp | 42 ++++++++++++++++--- gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 4 +- gdb/varobj.c | 38 +++++------------ gdb/varobj.h | 5 ++- 5 files changed, 57 insertions(+), 38 deletions(-) base-commit: f74a5e6f2ed5180ce28d6478a6d7a7a1982c5d43 -- 2.34.1