]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update comments from moved methods
authorTom Tromey <tom@tromey.com>
Wed, 26 Mar 2025 00:51:51 +0000 (18:51 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 1 Apr 2025 13:30:10 +0000 (07:30 -0600)
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>
gdb/dwarf2/cooked-index-entry.c
gdb/dwarf2/cooked-index-shard.c
gdb/dwarf2/cooked-index-worker.c

index 197f62aee51ea3aea6688884fed2732b9b455290..3e322f140e5c0c1ca4c81d1a5affb0a5beb8750b 100644 (file)
@@ -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,
index 41844cdc65951cad55df03e844850c3ed8e7fa9a..683feb2ce9615be23a39f3934e922b53574fa5ab 100644 (file)
@@ -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
index 0ce4987658fcd2c11a704be56acbe8b40a1c8c11..8073a672cb9ac9655f125152e05526aacc37100a 100644 (file)
@@ -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,