summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2021-01-22 18:55:04 +0100
committerBernd Edlinger <bernd.edlinger@hotmail.de>2021-01-22 22:55:52 +0100
commit705646c074a73bb52ec732849238c66d862d2f9c (patch)
treece9aee4f6488ed2efbdcc8d41567c2716b6ecdea /gdb/testsuite/gdb.base
parent0ac85db529d1077551b92c6da66044eff672c315 (diff)
downloadbinutils-gdb-705646c074a73bb52ec732849238c66d862d2f9c.tar.gz
Fix expected output of gdb.base/line65535.exp with dwarf-5
With gcc & binutils built from latest git revision this test case fails because the output of the break command changes and contains the full path name of the source file, while previously only the file name was printed. Fixed that by adjusting the test expectation. 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de> * gdb.base/line65535.exp: Fix test expectation.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/line65535.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/line65535.exp b/gdb/testsuite/gdb.base/line65535.exp
index 921d1c18547..861d5e3089c 100644
--- a/gdb/testsuite/gdb.base/line65535.exp
+++ b/gdb/testsuite/gdb.base/line65535.exp
@@ -24,5 +24,5 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
}
gdb_test "break $srcfile:65535" \
- ".*Breakpoint 1 at .*: file $srcfile, line 65535\\..*" \
+ ".*Breakpoint 1 at .*: file .*$srcfile, line 65535\\..*" \
"break at line 65535"