[binutils-gdb] Obvious comment fix in cooked-index.h
Tom Tromey
tromey@sourceware.org
Tue Mar 4 01:36:27 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e578bccf57381f89a65a9cf733574e7f122e28aa
commit e578bccf57381f89a65a9cf733574e7f122e28aa
Author: Tom Tromey <tom@tromey.com>
Date: Thu Feb 27 21:34:47 2025 -0700
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:
---
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
More information about the Gdb-cvs
mailing list