From e578bccf57381f89a65a9cf733574e7f122e28aa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 27 Feb 2025 21:34:47 -0700 Subject: [PATCH] Obvious comment fix in cooked-index.h I noticed that cooked-index.h still refers to a vector of parent maps, but the code itself actually uses a parent_map here. --- gdb/dwarf2/cooked-index.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/dwarf2/cooked-index.h b/gdb/dwarf2/cooked-index.h index b85c703dc25..94c13b65df5 100644 --- a/gdb/dwarf2/cooked-index.h +++ b/gdb/dwarf2/cooked-index.h @@ -520,7 +520,7 @@ protected: /* Each thread returns a tuple holding a cooked index, any collected complaints, a vector of errors that should be printed, and a - vector of parent maps. + parent map. The errors are retained because GDB's I/O system is not thread-safe. run_on_main_thread could be used, but that would -- 2.39.5