Index: gdb/testsuite/gdb.mi/mi-var-rtti.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-var-rtti.exp b/gdb/testsuite/gdb.mi/mi-var-rtti.exp |
index a718ffba56ec29a5c4680aa69f1be729344233b3..84cd6c8007e769083f72b79f1b488f16afbc1a63 100644 |
--- a/gdb/testsuite/gdb.mi/mi-var-rtti.exp |
+++ b/gdb/testsuite/gdb.mi/mi-var-rtti.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2012 Free Software Foundation, Inc. |
+# Copyright 2012-2013 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 |
@@ -27,7 +27,7 @@ standard_testfile .cc |
set opts {debug c++} |
if [build_executable $testfile.exp $testfile $srcfile $opts] { |
- return -1; |
+ return -1 |
} |
mi_gdb_load ${binfile} |
@@ -37,7 +37,7 @@ mi_prepare_inline_tests $srcfile |
# Enable using RTTI to determine real types of the objects |
proc set_print_object {state testname} { |
mi_gdb_test "-interpreter-exec console \"set print object ${state}\"" \ |
- {\^done} \ |
+ "(.*=cmd-param-changed,param=\"print object\",value=\"${state}\".*|)\\^done" \ |
"-interpreter-exec console \"set print object ${state}\" in $testname" |
} |