aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-07-23 06:54:47 +0000
committerYao Qi <yao@codesourcery.com>2013-07-23 06:54:47 +0000
commit2eb14a9b5c2e04fb3a7329e1d4395b35a8553350 (patch)
tree1e7d37f8dc91b138e152d1657e64a6f480247836
parent6ef198dae7976032677a36ac43d27974e880b07f (diff)
downloadgdb-2eb14a9b5c2e04fb3a7329e1d4395b35a8553350.zip
gdb-2eb14a9b5c2e04fb3a7329e1d4395b35a8553350.tar.gz
gdb-2eb14a9b5c2e04fb3a7329e1d4395b35a8553350.tar.bz2
gdb/testsuite/
* gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error message.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/mi-var-cmd.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7bbc17d..238929e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-23 Yao Qi <yao@codesourcery.com>
+
+ * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
+ message.
+
2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
* gdb.base/disp-step-syscall.exp: Add svc and swi syscall
diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
index 6addea6..00dc0df 100644
--- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp
@@ -621,17 +621,17 @@ mi_gdb_test "kill" \
"kill program before endvar"
mi_gdb_test "-var-create endvar * _end" \
- {(\^done,name="endvar",numchild="0",value=".*",type=".*"|&".*unable to.*".*\^error,msg=".*")} \
+ {(\^done,name="endvar",numchild="0",value=".*",type=".*"|\^error,msg=".*")} \
"create endvar"
# Allow this to succeed whether the value is readable, unreadable, or
# missing. Most important is that GDB does not crash.
mi_gdb_test "-var-update endvar" \
- {(\^done,changelist=\[.*\]|^".*".*\^error,msg=".*not found")} \
+ {(\^done,changelist=\[.*\]|\^error,msg=".*not found")} \
"update endvar"
mi_gdb_test "-var-delete endvar" \
- "\\^done,ndeleted=\"1\"" \
+ {(\^done,ndeleted="1"|\^error,msg=".*not found")} \
"delete endvar"
mi_delete_breakpoints