aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-02-16 21:08:10 +0000
committerDaniel Jacobowitz <drow@false.org>2010-02-16 21:08:10 +0000
commit8034c7498c26bc7ea5ba5f365816eb5dc731a365 (patch)
treee01645e49f41cbdc3e08c36a719add63ade3fa00
parent791dfb6488c972e2352ff5c3b4aa5659ce476136 (diff)
downloadgdb-8034c7498c26bc7ea5ba5f365816eb5dc731a365.zip
gdb-8034c7498c26bc7ea5ba5f365816eb5dc731a365.tar.gz
gdb-8034c7498c26bc7ea5ba5f365816eb5dc731a365.tar.bz2
gdb/testsuite/
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use mi_send_resuming_command to send -exec-continue.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.mi/mi-break.exp7
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2d857f9..d250507 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp
index 93d605c..01c7422 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