diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-03-05 11:17:35 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2014-03-07 10:05:42 +0100 |
commit | 847fc4f296d6145e211b934ae6d57db110dc709b (patch) | |
tree | 43e942e6c6d5b9b17b47daead6e60e3afa44ba43 /gdb/testsuite | |
parent | d598a9c17744dde647083178db92495f6b3ae90c (diff) | |
download | gdb-847fc4f296d6145e211b934ae6d57db110dc709b.zip gdb-847fc4f296d6145e211b934ae6d57db110dc709b.tar.gz gdb-847fc4f296d6145e211b934ae6d57db110dc709b.tar.bz2 |
btrace, test: fix gdb.btrace/data test
The format of the output changed. Fix the test.
testsuite/
* gdb.btrace/data.exp: Update expected output.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.btrace/data.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a078554..6cbf534 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-03-07 Markus Metzger <markus.t.metzger@intel.com> + + * gdb.btrace/data.exp: Update expected output. + 2014-03-06 Yao Qi <yao@codesourcery.com> * gdb.trace/pr16508.exp: New file. diff --git a/gdb/testsuite/gdb.btrace/data.exp b/gdb/testsuite/gdb.btrace/data.exp index d6bc854..64c5443 100644 --- a/gdb/testsuite/gdb.btrace/data.exp +++ b/gdb/testsuite/gdb.btrace/data.exp @@ -37,8 +37,8 @@ gdb_test "next" ".*main\.3.*" gdb_test "reverse-step" ".*test\.4.*" # we can't read memory while we're replaying -gdb_test "print glob" "Memory at .* unavailable\." -gdb_test "print loc" "Memory at .* unavailable\." +gdb_test "print glob" "unavailable\[^\\\r\\\n\]*" +gdb_test "print loc" "unavailable\[^\\\r\\\n\]*" # stop replaying and try again gdb_test "record goto end" |