gdb/testsuite/
authorDaniel Jacobowitz <drow@false.org>
Tue, 16 Feb 2010 21:08:10 +0000 (21:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 16 Feb 2010 21:08:10 +0000 (21:08 +0000)
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
mi_send_resuming_command to send -exec-continue.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-break.exp

index 2d857f9..d250507 100644 (file)
@@ -1,5 +1,10 @@
 2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
 
+       * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
+       mi_send_resuming_command to send -exec-continue.
+
+2010-02-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
        * gdb.base/list.exp (test_list_filename_and_function): Add test
        with single quotes.
        * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
index 93d605c..01c7422 100644 (file)
@@ -232,11 +232,10 @@ proc test_breakpoint_commands {} {
         "\\^done" \
         "breakpoint commands: set commands"
 
-    mi_gdb_test "-exec-continue" \
+    mi_send_resuming_command "exec-continue" "test hitting breakpoint with commands"
+    mi_gdb_test "" \
         ".*\\\$1 = 0.*\\\$10 = 9.*\\*running.*\\*stopped,reason=\"exited-normally\".*" \
-        "test hitting breakpoint with commands"    
-
-
+        "test hitting breakpoint with commands"
 }
 
 test_tbreak_creation_and_listing