]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix regression in gdb.base/maint.exp
authorTom de Vries <tdevries@suse.de>
Thu, 22 Jan 2026 09:48:45 +0000 (10:48 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 22 Jan 2026 09:48:45 +0000 (10:48 +0100)
After commit 2f23cf07253 ("[gdb] Add regression test for PR symtab/33777"),
test-case gdb.base/maint.exp regressed:
...
FAIL: gdb.base/maint.exp: maint print statistics
...

Fix this by updating the expected output.

Tested on x86_64-linux.

Reported-By: Jan Vrany <jan.vrany@labware.com
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33818

gdb/testsuite/gdb.base/maint.exp

index fe715a8fd8c59fcc4fb54e3c6806369506273519..11439ebc120bc2eac480cb5e86e7576a45a0ee60 100644 (file)
@@ -241,6 +241,7 @@ set re \
         ")?(  Total memory used for psymbol cache: $decimal" \
         ")?(  Number of read units: $decimal" \
         "  Number of unread units: $decimal" \
+        "  Number of read top-level DIEs: $decimal" \
         ")?  Total memory used for objfile obstack: $decimal" \
         "  Total memory used for BFD obstack: $decimal" \
         "  Total memory used for string cache: $decimal" \