+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
"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