Fix PR testsuite/1680.

* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
This commit is contained in:
Jim Blandy 2004-06-21 05:00:37 +00:00
parent a2428dbe34
commit 8d5df71af0
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-06-20 Jim Blandy <jimb@redhat.com>
Fix PR testsuite/1680.
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1679.

View File

@ -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\]"
}