This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] btrace, test: fix gdb.btrace/data test
- From: Markus Metzger <markus dot t dot metzger at intel dot com>
- To: jan dot kratochvil at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 7 Mar 2014 09:35:48 +0100
- Subject: [PATCH] btrace, test: fix gdb.btrace/data test
- Authentication-results: sourceware.org; auth=none
The format of the output changed. Fix the test.
2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
testsuite/
* gdb.btrace/data.exp: Update expected output.
---
gdb/testsuite/gdb.btrace/data.exp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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"
--
1.8.3.1