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 2d857f96c49e80a1eaaa7e857ea38f807f1dd730..d250507fcc88c7cb8ff791aa3097f9639dfeb61d 100644 (file)
@@ -1,3 +1,8 @@
+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
index 93d605c8b00a2d0bf2536efeca301d17be57ea61..01c74228460b8627cfc529fdddf7c5d3bffd7b59 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