diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8ac38049b6..ccbb5be8fc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-25 Andrew Burgess + + * gdb.base/cached-source-file.exp: Avoid source file paths in test + names. + 2020-02-25 Tom de Vries PR go/18926 diff --git a/gdb/testsuite/gdb.base/cached-source-file.exp b/gdb/testsuite/gdb.base/cached-source-file.exp index 755416f25d..8457b1ee0c 100644 --- a/gdb/testsuite/gdb.base/cached-source-file.exp +++ b/gdb/testsuite/gdb.base/cached-source-file.exp @@ -43,7 +43,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } { set bp_line [gdb_get_line_number "break-here" $srcfile] gdb_assert { [runto "$srcfile:$bp_line"] } \ - "run to $srcfile:$bp_line" + "run to break-here marker" # Do a "list" and check that the printed line matches the line of the # original source file.