[pushed,gdb/testsuite] Fix regexp in gdb.dwarf2/dw2-inter-cu-error.exp
Checks
Commit Message
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: fbf8e4c35c292620f8d25096b4341c3b5caa90ee
@@ -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"