gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Tue, 23 Jul 2013 06:54:47 +0000 (06:54 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 23 Jul 2013 06:54:47 +0000 (06:54 +0000)
* gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
message.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp

index 7bbc17d90f7fc8a03353888c515cc315f34e84ba..238929e4861aab609aad0c950ecef2a90c112548 100644 (file)
@@ -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
index 6addea6a4a4e3551422e9e00d5c17033842e87ac..00dc0df6bb21755d32134ccd30cb81a9a9c9cfe9 100644 (file)
@@ -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