diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-25 18:51:51 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-04-01 07:30:10 -0600 |
commit | 23ad2598a6b92643417b7a94da54aebb62469423 (patch) | |
tree | c9f679abe5b898ddb46e69e46f78adfba2977402 | |
parent | 51b142159423298b9ed756fd2b913f89ae4b94a9 (diff) | |
download | binutils-23ad2598a6b92643417b7a94da54aebb62469423.zip binutils-23ad2598a6b92643417b7a94da54aebb62469423.tar.gz binutils-23ad2598a6b92643417b7a94da54aebb62469423.tar.bz2 |
Update comments from moved methods
This updates the "See xyz.h" comments for all the methods that were
moved earlier in this series. Perhaps I should have removed them
instead.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
-rw-r--r-- | gdb/dwarf2/cooked-index-entry.c | 10 | ||||
-rw-r--r-- | gdb/dwarf2/cooked-index-shard.c | 10 | ||||
-rw-r--r-- | gdb/dwarf2/cooked-index-worker.c | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/gdb/dwarf2/cooked-index-entry.c b/gdb/dwarf2/cooked-index-entry.c index 197f62a..3e322f1 100644 --- a/gdb/dwarf2/cooked-index-entry.c +++ b/gdb/dwarf2/cooked-index-entry.c @@ -22,7 +22,7 @@ #include "gdbsupport/gdb-safe-ctype.h" #include "gdbsupport/selftest.h" -/* See cooked-index.h. */ +/* See cooked-index-entry.h. */ std::string to_string (cooked_index_flag flags) @@ -38,7 +38,7 @@ to_string (cooked_index_flag flags) return flags.to_string (mapping); } -/* See cooked-index.h. */ +/* See cooked-index-entry.h. */ int cooked_index_entry::compare (const char *stra, const char *strb, @@ -154,7 +154,7 @@ test_compare () #endif /* GDB_SELF_TEST */ -/* See cooked-index.h. */ +/* See cooked-index-entry.h. */ bool cooked_index_entry::matches (domain_search_flags kind) const @@ -166,7 +166,7 @@ cooked_index_entry::matches (domain_search_flags kind) const return tag_matches_domain (tag, kind, lang); } -/* See cooked-index.h. */ +/* See cooked-index-entry.h. */ const char * cooked_index_entry::full_name (struct obstack *storage, @@ -215,7 +215,7 @@ cooked_index_entry::full_name (struct obstack *storage, return (const char *) obstack_finish (storage); } -/* See cooked-index.h. */ +/* See cooked-index-entry.h. */ void cooked_index_entry::write_scope (struct obstack *storage, diff --git a/gdb/dwarf2/cooked-index-shard.c b/gdb/dwarf2/cooked-index-shard.c index 41844cd..683feb2 100644 --- a/gdb/dwarf2/cooked-index-shard.c +++ b/gdb/dwarf2/cooked-index-shard.c @@ -41,7 +41,7 @@ language_may_use_plain_main (enum language lang) || lang == language_minimal); } -/* See cooked-index.h. */ +/* See cooked-index-shard.h. */ cooked_index_entry * cooked_index_shard::create (sect_offset die_offset, @@ -70,7 +70,7 @@ cooked_index_shard::create (sect_offset die_offset, per_cu); } -/* See cooked-index.h. */ +/* See cooked-index-shard.h. */ cooked_index_entry * cooked_index_shard::add (sect_offset die_offset, enum dwarf_tag tag, @@ -96,7 +96,7 @@ cooked_index_shard::add (sect_offset die_offset, enum dwarf_tag tag, return result; } -/* See cooked-index.h. */ +/* See cooked-index-shard.h. */ void cooked_index_shard::handle_gnat_encoded_entry @@ -173,7 +173,7 @@ struct cooked_index_entry_name_ptr_eq } }; -/* See cooked-index.h. */ +/* See cooked-index-shard.h. */ void cooked_index_shard::finalize (const parent_map_map *parent_maps) @@ -301,7 +301,7 @@ cooked_index_shard::finalize (const parent_map_map *parent_maps) }); } -/* See cooked-index.h. */ +/* See cooked-index-shard.h. */ cooked_index_shard::range cooked_index_shard::find (const std::string &name, bool completing) const diff --git a/gdb/dwarf2/cooked-index-worker.c b/gdb/dwarf2/cooked-index-worker.c index 0ce4987..8073a67 100644 --- a/gdb/dwarf2/cooked-index-worker.c +++ b/gdb/dwarf2/cooked-index-worker.c @@ -88,7 +88,7 @@ bool cooked_index_worker_result::cutu_reader_eq::operator() return per_cu.index == reader->cu ()->per_cu->index; } -/* See cooked-index.h. */ +/* See cooked-index-worker.h. */ void cooked_index_worker::start () @@ -109,7 +109,7 @@ cooked_index_worker::start () }); } -/* See cooked-index.h. */ +/* See cooked-index-worker.h. */ bool cooked_index_worker::wait (cooked_state desired_state, bool allow_quit) @@ -194,7 +194,7 @@ cooked_index_worker::wait (cooked_state desired_state, bool allow_quit) return done; } -/* See cooked-index.h. */ +/* See cooked-index-worker.h. */ void cooked_index_worker::set (cooked_state desired_state) @@ -212,7 +212,7 @@ cooked_index_worker::set (cooked_state desired_state) #endif /* CXX_STD_THREAD */ } -/* See cooked-index.h. */ +/* See cooked-index-worker.h. */ void cooked_index_worker::write_to_cache (const cooked_index *idx, |