Eli Zaretskii writes: >> 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 I've gone ahead and taken the liberty to push this as obvious enough, having run into this again recently. I applied your casing tweak and the style tweaks from Guinevere.