gdb/testsuite/

* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
	mi_send_resuming_command to send -exec-continue.
This commit is contained in:
Daniel Jacobowitz 2010-02-16 21:08:10 +00:00
parent 791dfb6488
commit 8034c7498c
2 changed files with 8 additions and 4 deletions

View 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

View 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