aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-06-21 05:00:37 +0000
committerJim Blandy <jimb@codesourcery.com>2004-06-21 05:00:37 +0000
commit8d5df71af067d55d19d56462c4d4ab08716f3e23 (patch)
treeb4f6f87570d462192f2b3e17d908dbacb7a23538 /gdb/testsuite/gdb.arch
parenta2428dbe34c7eab309be41cc765ff4010efb1bd0 (diff)
downloadgdb-8d5df71af067d55d19d56462c4d4ab08716f3e23.zip
gdb-8d5df71af067d55d19d56462c4d4ab08716f3e23.tar.gz
gdb-8d5df71af067d55d19d56462c4d4ab08716f3e23.tar.bz2
Fix PR testsuite/1680.
* gdb.arch/i386-sse.exp: Properly quote curly braces in regular expressions.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r--gdb/testsuite/gdb.arch/i386-sse.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-sse.exp b/gdb/testsuite/gdb.arch/i386-sse.exp
index 8180ec4..702ee71 100644
--- a/gdb/testsuite/gdb.arch/i386-sse.exp
+++ b/gdb/testsuite/gdb.arch/i386-sse.exp
@@ -72,7 +72,7 @@ gdb_continue_to_breakpoint "continue to first breakpoint in main"
foreach r {0 1 2 3 4 5 6 7} {
gdb_test "print \$xmm$r.v4_float" \
- ".. = {$r, $r.25, $r.5, $r.75}.*" \
+ ".. = \\{$r, $r.25, $r.5, $r.75\\}.*" \
"check contents of %xmm$r"
}
@@ -87,6 +87,6 @@ gdb_continue_to_breakpoint "continue to second breakpoint in main"
foreach r {0 1 2 3 4 5 6 7} {
gdb_test "print data\[$r\]" \
- ".. = {f = {[expr $r + 10], $r.25, $r.5, $r.75}}.*" \
+ ".. = \\{f = \\{[expr $r + 10], $r.25, $r.5, $r.75\\}\\}.*" \
"check contents of data\[$r\]"
}