]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Dump debug names index
authorTom Tromey <tom@tromey.com>
Fri, 28 Feb 2025 03:26:13 +0000 (20:26 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 5 Mar 2025 15:00:07 +0000 (08:00 -0700)
This changes the .debug_names reader to dump the contents of the
index.  This follows what the cooked index does, and also fixes a
couple of test failures when run with the debug-names board:
forward-spec-inter-cu.exp and backward-spec-inter-cu.exp.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/read-debug-names.c

index 2cd32d09abe597672596d0d38f1a7a0173edce53..6e9ea667c3a9911e8739b83d5bdf7c17a8ebc6f8 100644 (file)
@@ -41,7 +41,7 @@ struct dwarf2_debug_names_index : public cooked_index_functions
   void dump (struct objfile *objfile) override
   {
     gdb_printf (".debug_names: exists\n");
-    /* This could call the superclass method if that's useful.  */
+    cooked_index_functions::dump (objfile);
   }
 };