From: Markus Metzger Date: Wed, 5 Mar 2014 10:17:35 +0000 (+0100) Subject: btrace, test: fix gdb.btrace/data test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=847fc4f296d6145e211b934ae6d57db110dc709b;p=binutils-gdb.git btrace, test: fix gdb.btrace/data test The format of the output changed. Fix the test. testsuite/ * gdb.btrace/data.exp: Update expected output. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a078554b12a..6cbf534956d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-03-07 Markus Metzger + + * gdb.btrace/data.exp: Update expected output. + 2014-03-06 Yao Qi * gdb.trace/pr16508.exp: New file. diff --git a/gdb/testsuite/gdb.btrace/data.exp b/gdb/testsuite/gdb.btrace/data.exp index d6bc854167d..64c5443ae45 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"