diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-01-04 03:59:27 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-01-04 03:59:27 +0000 |
commit | 7634bb6e639032a2d38d608b56e70f895794f5da (patch) | |
tree | e1dfbb940e92a3308e2baf452bc3e7526f6637b2 /gdb | |
parent | 3b36097dde707d7f7506359204a55b6a2e163f71 (diff) | |
download | gdb-7634bb6e639032a2d38d608b56e70f895794f5da.zip gdb-7634bb6e639032a2d38d608b56e70f895794f5da.tar.gz gdb-7634bb6e639032a2d38d608b56e70f895794f5da.tar.bz2 |
* gdb.base/store.exp: Fix regular expressions.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/store.exp | 18 |
2 files changed, 13 insertions, 9 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 061e2f1..fdf0e10 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-01-03 Daniel Jacobowitz <drow@mvista.com> + + * gdb.base/store.exp: Fix regular expressions. + 2002-12-28 Mark Kettenis <kettenis@gnu.org> * configure.in: Rewrite. diff --git a/gdb/testsuite/gdb.base/store.exp b/gdb/testsuite/gdb.base/store.exp index 64a8749..d6e941a 100644 --- a/gdb/testsuite/gdb.base/store.exp +++ b/gdb/testsuite/gdb.base/store.exp @@ -1,4 +1,4 @@ -# Copyright 2002 Free Software Foundation, Inc. +# Copyright 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -105,10 +105,10 @@ proc check_struct { t old new } { gdb_test "print u" " = ${new}" "new check struct ${t}" } -check_struct "1" "{s = {0}}" "{s = {1}}" -check_struct "2" "{s = {0, 0}}" "{s = {1, 2}}" -check_struct "3" "{s = {0, 0, 0}}" "{s = {1, 2, 3}}" -check_struct "4" "{s = {0, 0, 0, 0}}" "{s = {1, 2, 3, 4}}" +check_struct "1" "{s = \\{0}}" "{s = \\{1}}" +check_struct "2" "{s = \\{0, 0}}" "{s = \\{1, 2}}" +check_struct "3" "{s = \\{0, 0, 0}}" "{s = \\{1, 2, 3}}" +check_struct "4" "{s = \\{0, 0, 0, 0}}" "{s = \\{1, 2, 3, 4}}" proc up_struct { t old new } { global gdb_prompt @@ -121,10 +121,10 @@ proc up_struct { t old new } { gdb_test "print u" " = ${new}" "new up struct ${t}" } -up_struct "1" "{s = {0}}" "{s = {1}}" -up_struct "2" "{s = {0, 0}}" "{s = {1, 2}}" -up_struct "3" "{s = {0, 0, 0}}" "{s = {1, 2, 3}}" -up_struct "4" "{s = {0, 0, 0, 0}}" "{s = {1, 2, 3, 4}}" +up_struct "1" "{s = \\{0}}" "{s = \\{1}}" +up_struct "2" "{s = \\{0, 0}}" "{s = \\{1, 2}}" +up_struct "3" "{s = \\{0, 0, 0}}" "{s = \\{1, 2, 3}}" +up_struct "4" "{s = \\{0, 0, 0, 0}}" "{s = \\{1, 2, 3, 4}}" # |