From 2eb14a9b5c2e04fb3a7329e1d4395b35a8553350 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 23 Jul 2013 06:54:47 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error message. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.mi/mi-var-cmd.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7bbc17d90f7..238929e4861 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-07-23 Yao Qi + + * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error + message. + 2013-07-19 Omair Javaid * 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 6addea6a4a4..00dc0df6bb2 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 -- 2.30.2