Index: gdb/testsuite/gdb.mi/mi2-prompt.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-prompt.exp b/gdb/testsuite/gdb.mi/mi2-prompt.exp |
index 6145c38fc1b62dca55543701f9d08bb4e98d3739..0406bc2967a134021f9099ff01bb72fbe1322c22 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-prompt.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-prompt.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2011 Free Software Foundation, Inc. |
+# Copyright 2011-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 |
@@ -23,8 +23,9 @@ if [mi_gdb_start] { |
# Check console 'set prompt' does not affect the MI output. |
-mi_gdb_test {-interpreter-exec console "set prompt (banana) "} {\^done} \ |
- "console set prompt" |
+mi_gdb_test {-interpreter-exec console "set prompt (banana) "} \ |
+ ".*=cmd-param-changed,param=\"prompt\",value=\"\\(banana\\) \".*\\^done" \ |
+ "console set prompt" |
mi_gdb_test "-break-list" ".*}" "-break-list" |
gdb_exit |