From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id o/m2E1NCPWpE9RcAWB0awg (envelope-from ) for ; Thu, 25 Jun 2026 10:59:31 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Ntj+kfpO; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3B5681E024; Thu, 25 Jun 2026 10:59:31 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 E1CCA1E024 for ; Thu, 25 Jun 2026 10:59:29 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7F4A54BA23D9 for ; Thu, 25 Jun 2026 14:59:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F4A54BA23D9 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Ntj+kfpO Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by sourceware.org (Postfix) with ESMTPS id EA7C94BA2E32 for ; Thu, 25 Jun 2026 14:58:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EA7C94BA2E32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EA7C94BA2E32 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=198.175.65.16 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782399539; cv=none; b=VG4ovwYcwQ5+QYzQKbOdgHAbOhh8Urowqw2xqa+X2SkcT7KFulEfHqlc9vGiWYh2Qcez5veFktzRuZ7jBCo95CPAl+RpOrRHKPD/Yen4tHa/xIn56VK22D8fhIZnR+fSKoBPUCU1KI71Z/7GZDXTjVbwxw+U3r1pPyr86uqiwOY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782399539; c=relaxed/simple; bh=vdfmIAakwWLzxMuOt3E2ADAUeZGucx8Tvqoj7/unC3I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=sTklXwnyGHJm3w2FDZeqfGOiguB4w8ikl4RboX115YoVlmjKyvU4KnZ6fH/481pBBjt5VoTOmPcU2G8HmjLs+LOVzZGAA4rkM0uu7PC2xrEjKQbRAuMK3s+Hw46XuAu0KC8NVwBfah03XNasrB/gVN7eVZodzlz2JAr4XMaUpt8= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Ntj+kfpO DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA7C94BA2E32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782399539; x=1813935539; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=vdfmIAakwWLzxMuOt3E2ADAUeZGucx8Tvqoj7/unC3I=; b=Ntj+kfpOHp/uGQRCMu0q7rE+EwHcXryIkqs98uMNI4mX8hgr4SmijY8O /Y65W6GiJPtmB2YzegimrgIpCd9cy8EIwZoq8zdDliQoyP84zuQIjA75G QcmmkSrnzl+kc1e7GaeOzVjOFwMMpYWClYzBGdoj/LeQXYIPgVJ0ytzZA 9vHco2kP7yrwNJuVbZ2O6LpzG10BUILA3un5ZrWJz/YlKRKfJ8eCbQlHf TimHLJpt6cMIzpTxzLfMum904bjIwTMbIa4jCCLypwKpj7U1BYlQgy8Ru Oah7jjo+IoKL+Ci6cqNCAwvRaomDXuDiawQsiRwOle3nVMmIx7Lh0hYzr Q==; X-CSE-ConnectionGUID: 9mDEXqNTQn2tVjECEFu0hQ== X-CSE-MsgGUID: JTzKxVdqS5+zKTL/danJ/w== X-IronPort-AV: E=McAfee;i="6800,10657,11827"; a="83367758" X-IronPort-AV: E=Sophos;i="6.24,224,1774335600"; d="scan'208";a="83367758" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2026 07:58:58 -0700 X-CSE-ConnectionGUID: Brr7Wn0tS5m7MqJQgljP5w== X-CSE-MsgGUID: 5/OHIR7iRw6i79GvCspa9A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,224,1774335600"; d="scan'208";a="250408581" Received: from dut1013pvc.igk.intel.com (HELO localhost) ([10.211.176.215]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2026 07:58:57 -0700 From: Stephan Rohr To: gdb-patches@sourceware.org Subject: [PATCH 0/1] gdb: set the cache information in 'get_prev_frame_maybe_check_cycle' Date: Thu, 25 Jun 2026 14:58:49 +0000 Message-ID: <20260625145850.3104079-1-stephan.rohr@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 From: "Rohr, Stephan" Hello all, I encountered an issue that GDB tries to reinflate a frame whose ID is not cached yet. I could only reproduce by invoking an inferior call in conjunction with a Python pretty printer; more details in the commit message. Regression tested on Ubuntu 24 using the unix target board file. I appreciate your feedback. Thanks Stephan Rohr, Stephan (1): gdb: set the cache information in 'get_prev_frame_maybe_check_cycle' gdb/frame.c | 18 +++++++++++++++++- gdb/frame.h | 4 ++++ .../gdb.python/pretty-print-call-by-hand.exp | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-) -- 2.43.0 Intel Deutschland GmbH Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany Tel: +49 89 991 430, www.intel.de Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell Chairperson of the Supervisory Board: Nicole Lau Registered Seat: Munich Commercial Register: Amtsgericht Muenchen HRB 186928