[pushed] Obvious comment fix in cooked-index.h

Message ID 20250304013610.178480-1-tom@tromey.com
State New
Headers
Series [pushed] Obvious comment fix in cooked-index.h |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom Tromey March 4, 2025, 1:36 a.m. UTC
  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(-)
  

Patch

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 @@  class cooked_index_worker
 
   /* 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