diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dbcf0ae1e13..106ba1104c3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-05-07 Yao Qi + + * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int" + in current context" too. + 2014-05-05 Keith Seitz * gdb.linespec/ls-dollar.exp: Add test for linespec diff --git a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp index af8e5d37809..7bf0d5cfb57 100644 --- a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp +++ b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp @@ -162,7 +162,7 @@ foreach testname {ok mismatch fallback} { if {[runto_main]} { if {$testname == "mismatch"} { gdb_test "print the_int" \ - "No symbol table is loaded.*" + "(No symbol table is loaded|No symbol \"the_int\" in current context).*" } else { gdb_test "print the_int" " = 99" }