-# Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008
+# Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-gdb@prep.ai.mit.edu
-
#
# Test essential Machine interface (MI) operations
#
mi_run_to_main
# Next over the hello() call which will produce lots of output
-mi_gdb_test "47-exec-next" \
- "47\\^running" \
+mi_gdb_test "220-exec-next" \
+ "220\\^running(\r\n\\*running,thread-id=\"all\")?" \
"Testing console output" \
"Hello \\\\\"!\[\r\n\]+"
-mi_gdb_test "" "47\\*stopped.*" "Finished step over hello"
+mi_expect_stop "end-stepping-range" "main" "" ".*mi-console.c" "14" "" \
+ "finished step over hello"
mi_gdb_exit
return 0