From 8034c7498c26bc7ea5ba5f365816eb5dc731a365 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 16 Feb 2010 21:08:10 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.mi/mi-break.exp (test_breakpoint_commands): Use mi_send_resuming_command to send -exec-continue. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.mi/mi-break.exp | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2d857f96c49..d250507fcc8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-02-16 Daniel Jacobowitz + + * gdb.mi/mi-break.exp (test_breakpoint_commands): Use + mi_send_resuming_command to send -exec-continue. + 2010-02-16 Daniel Jacobowitz * gdb.base/list.exp (test_list_filename_and_function): Add test diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index 93d605c8b00..01c74228460 100644 --- a/gdb/testsuite/gdb.mi/mi-break.exp +++ b/gdb/testsuite/gdb.mi/mi-break.exp @@ -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 -- 2.30.2