From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yPXBNXjkAWjZaTkAWB0awg (envelope-from ) for ; Fri, 18 Apr 2025 01:34:48 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=GQLHgY7S; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CB58B1E0C3; Fri, 18 Apr 2025 01:34:48 -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 server2.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 ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C94DD1E0C0 for ; Fri, 18 Apr 2025 01:34:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 514DC3857032 for ; Fri, 18 Apr 2025 05:34:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 514DC3857032 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=GQLHgY7S Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id BD6613858C41 for ; Fri, 18 Apr 2025 05:34:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD6613858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BD6613858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744954452; cv=none; b=ZVkT5t/t8/BL/tXFU1BUhRQLd7hcMCnFeTcYFiG61fdYWCaW9i3x25X64eDxhCgxAMIvsr1S+hEkDwdm3vI221dC1v3v4Rgqee5q9TB2vcw5El5ho75eyO6M/NO7S7B21S/0ynAU4QKiHhUwjMSm9/qWVwGru6ULgZ6xtbNjkug= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744954452; c=relaxed/simple; bh=IiHAR//2TlIHQOkbVXAGgRF4yHxLKj0lbxqtYVSjKXc=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=OAY1PBQN39135q25zjmMu+2yrOeFGiukw3R/PYD4nV/MyDnMPeMKTKnDzpc0+L5o/kkn08NrCY4W7crkyP7xZDdh2As7ysJ6gyoIt4q2bhoLk6eXMYRgY4lOb4mGXi6EgkF2EKfM1F+3Oy34ZLEUVmXwFLlQlwxmAGiW/hyKnH4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD6613858C41 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5eMd-0004Y6-PQ; Fri, 18 Apr 2025 01:34:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hzmhjrXrrsNJqyoq/HzohE8641IKYYVirifIxDYKYf8=; b=GQLHgY7S1dyV LRs+uZ4/D6dcDgVWLEmtUDiDPhkuZb/f/vYnJIw5fDTNvHyxeE+wb5BV3AfnFwaOtuxMPwSJ7NarF mm2N5kW7HafaHHjzYhw1M+lYy8I82txZHQaPeqTUm5WwZNAiK4GV6lqgbxu/x97ylRsGzmqFCqTVV RjpDj6jTmMLaiChGYAp2QZPyeodM58B9+IrYtvCI7JRm8sbBFfuBZmET5o/jxsZ+FOo+X8Gzaf/BT T0PBlnk9r7CCx6szDDfUMLftKMGWKP++1qFph93G/QtpYqPTPTB5soiPk9YKIQnKyRvmZJGFszI7E RyzFLUlOAg3+3t2UJhVHfg==; Date: Fri, 18 Apr 2025 08:34:08 +0300 Message-Id: <86zfgeav8v.fsf@gnu.org> From: Eli Zaretskii To: Guinevere Larsen Cc: viric@viric.name, gdb-patches@sourceware.org In-Reply-To: (message from Guinevere Larsen on Thu, 17 Apr 2025 14:06:31 -0300) Subject: Re: [PATCH] Document that index-cache requires build ID References: 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 > Date: Thu, 17 Apr 2025 14:06:31 -0300 > Cc: "Eli Zaretskii (eliz@gnu.org)" > From: Guinevere Larsen > > From 4dfcd1888e3fc3c5707e3f697268d820679a1c7b Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= > Date: Sun, 6 Apr 2025 13:11:06 +0200 > Subject: [PATCH] Document that index-cache requires build ID > > --- > gdb/doc/gdb.texinfo | 2 ++ > gdb/dwarf2/read.c | 4 ++++ > 2 files changed, 6 insertions(+) > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index e034ac53295..37b65ab72ac 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -22934,6 +22934,8 @@ Indices only work when using DWARF debugging information, not stabs. > It is possible for @value{GDBN} to automatically save a copy of this index in a > cache on disk and retrieve it from there when loading the same binary in the > future. This feature can be turned on with @kbd{set index-cache enabled on}. > +Note that the cache will use the ELF build ID to identify the cached indices, > +so files without Build ID will not have their index cached. > The following commands can be used to tweak the behavior of the index cache. > > Since there are documentation changes, we need Eli Zaretskii to approve this change. I've CC'd him in this > email. Sorry for missing the original submission. The patch for gdb.texinfo is okay, but please use "build ID", not "Build ID", for the second instance, to be consistent about the letter-case. Reviewed-By: Eli Zaretskii