]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/dwarf: change CUs -> units in print_stats
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 18 Jun 2025 20:03:20 +0000 (16:03 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 19 Jun 2025 17:17:51 +0000 (13:17 -0400)
Change the messages to reflect that these numbers includes type units,
not only compile units.

Change-Id: Id2f511d4666e5cf92112be917d72ff76791b7e1d
Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/dwarf2/read.c
gdb/testsuite/gdb.base/maint.exp

index 0afc836056acf8858de3fdb682f969828157f74f..2f27b7cff4c4ec8179a31200791db68765828aa2 100644 (file)
@@ -1906,8 +1906,8 @@ dwarf2_base_index_functions::print_stats (struct objfile *objfile,
       if (!per_objfile->symtab_set_p (per_cu))
        ++count;
     }
-  gdb_printf (_("  Number of read CUs: %d\n"), total - count);
-  gdb_printf (_("  Number of unread CUs: %d\n"), count);
+  gdb_printf (_("  Number of read units: %d\n"), total - count);
+  gdb_printf (_("  Number of unread units: %d\n"), count);
 }
 
 void
index 43fc2c0019826eb0bdac5dd4c2af44d4a7859748..7936e5353fe7d32f3c20f8189e755eb719147093 100644 (file)
@@ -239,8 +239,8 @@ set re \
         "(  Number of \"partial\" symbols read: $decimal" \
         ")?(  Number of psym tables \\(not yet expanded\\): $decimal" \
         ")?(  Total memory used for psymbol cache: $decimal" \
-        ")?(  Number of read CUs: $decimal" \
-        "  Number of unread CUs: $decimal" \
+        ")?(  Number of read units: $decimal" \
+        "  Number of unread units: $decimal" \
         ")?  Total memory used for objfile obstack: $decimal" \
         "  Total memory used for BFD obstack: $decimal" \
         "  Total memory used for string cache: $decimal" \