diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2021-01-22 18:55:04 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2021-01-22 22:55:52 +0100 |
commit | 705646c074a73bb52ec732849238c66d862d2f9c (patch) | |
tree | ce9aee4f6488ed2efbdcc8d41567c2716b6ecdea | |
parent | 0ac85db529d1077551b92c6da66044eff672c315 (diff) | |
download | binutils-705646c074a73bb52ec732849238c66d862d2f9c.zip binutils-705646c074a73bb52ec732849238c66d862d2f9c.tar.gz binutils-705646c074a73bb52ec732849238c66d862d2f9c.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/line65535.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c64f3bc..b9522c8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de> + + * gdb.base/line65535.exp: Fix test expectation. + 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> * lib/gdb.exp (gdb_test_multiple): Remove things related to test diff --git a/gdb/testsuite/gdb.base/line65535.exp b/gdb/testsuite/gdb.base/line65535.exp index 921d1c1..861d5e3 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" |