]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix regexp in gdb.dwarf2/dw2-inter-cu-error.exp
authorTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 09:49:34 +0000 (11:49 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Aug 2024 09:49:34 +0000 (11:49 +0200)
In commit b5070480d74 ("[gdb/symtab] Change DWARF_ERROR from Dwarf Error to
DWARF Error") I changed the dwarf error prefix, but failed to update test-case
gdb.dwarf2/dw2-inter-cu-error.exp.

Fix this by updating the corresponding regexp in the test-case.

Tested on x86_64-linux.

gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp

index a628650f0742168f06d9846b74be04382875f07d..92ffcaeb5159b68baff90a2394c128f93f5436fa 100644 (file)
@@ -47,5 +47,5 @@ if [prepare_for_testing "failed to prepare" $testfile \
 }
 
 # Verify that GDB notices the null DIE.
-gdb_assert { [regexp "Dwarf Error: Unexpected null DIE" $gdb_file_cmd_msg] } \
+gdb_assert { [regexp "DWARF Error: Unexpected null DIE" $gdb_file_cmd_msg] } \
        "Null DIE error missing"