aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-stepn.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-stepn.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-stepn.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-stepn.exp b/gdb/testsuite/gdb.mi/mi-stepn.exp
index 17b682c..050bb50 100644
--- a/gdb/testsuite/gdb.mi/mi-stepn.exp
+++ b/gdb/testsuite/gdb.mi/mi-stepn.exp
@@ -35,8 +35,9 @@ if {[mi_run_to_main] < 0} {
return -1
}
-mi_create_breakpoint do_nothing 2 keep do_nothing .* .* .* \
- "breakpoint at do_nothing"
+mi_create_breakpoint do_nothing \
+ "breakpoint at do_nothing" \
+ -number 2 -func do_nothing
mi_send_resuming_command "exec-step 3" ""
mi_expect_stop "breakpoint-hit" "do_nothing" "\[^\n\]*" "$srcfile" \