From: Tom Tromey Date: Fri, 28 Feb 2025 04:34:47 +0000 (-0700) Subject: Obvious comment fix in cooked-index.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e578bccf57381f89a65a9cf733574e7f122e28aa;p=thirdparty%2Fbinutils-gdb.git 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. --- 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