From: Tom de Vries Date: Tue, 27 Aug 2024 09:49:34 +0000 (+0200) Subject: [gdb/testsuite] Fix regexp in gdb.dwarf2/dw2-inter-cu-error.exp X-Git-Tag: gdb-16-branchpoint~1064 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd8ec8ed8258990700aaf422cea0e12208356014;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Fix regexp in gdb.dwarf2/dw2-inter-cu-error.exp 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. --- diff --git a/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp index a628650f074..92ffcaeb515 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-inter-cu-error.exp @@ -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"