aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-rw-r--r--gdb/testsuite/lib/gdb.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 531120c..169ae1c 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1099,8 +1099,8 @@ proc gdb_test_exact { args } {
# of text per element and then strip trailing \r\n's.
# Example:
# gdb_test_list_exact "foo" "bar" \
-# {[^\r\n]+[\r\n]+} \
-# {[^\r\n]+} \
+# "\[^\r\n\]+\[\r\n\]+" \
+# "\[^\r\n\]+" \
# { \
# {expected result 1} \
# {expected result 2} \