From 8d5df71af067d55d19d56462c4d4ab08716f3e23 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 21 Jun 2004 05:00:37 +0000 Subject: [PATCH] Fix PR testsuite/1680. * gdb.arch/i386-sse.exp: Properly quote curly braces in regular expressions. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.arch/i386-sse.exp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 705baa81a66..24ccaa06747 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-06-20 Jim Blandy + + Fix PR testsuite/1680. + * gdb.arch/i386-sse.exp: Properly quote curly braces in + regular expressions. + 2004-06-19 Michael Chastain Fix PR testsuite/1679. diff --git a/gdb/testsuite/gdb.arch/i386-sse.exp b/gdb/testsuite/gdb.arch/i386-sse.exp index 8180ec48b1f..702ee7127a5 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\]" } -- 2.30.2