diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp | 14 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/new-ui-mi-sync.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/user-selected-context-sync.exp | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp index 40c17c6..14e820f 100644 --- a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp +++ b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp @@ -59,7 +59,7 @@ proc restart_for_test {} { mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load ${binfile} - mi_runto main + mi_runto_main mi_create_breakpoint \ "$srcfile:${main_lineno}" "break before exiting program" \ diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index 260917a..c521a18 100644 --- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp @@ -657,7 +657,7 @@ with_test_prefix "second run" { mi_create_varobj "L" "lsimple" "in-and-out-of-scope: create varobj" mi_check_varobj_value "L" "{...}" "in-and-out-of-scope: check initial value" -mi_runto main +mi_runto_main mi_gdb_test "-var-update L" \ {\^done,changelist=\[{name="L",in_scope="false",type_changed="false",has_more="0"}\]} \ diff --git a/gdb/testsuite/gdb.mi/mi-var-invalidate.exp b/gdb/testsuite/gdb.mi/mi-var-invalidate.exp index d6fb775..bc056b9 100644 --- a/gdb/testsuite/gdb.mi/mi-var-invalidate.exp +++ b/gdb/testsuite/gdb.mi/mi-var-invalidate.exp @@ -70,7 +70,7 @@ mi_create_floating_varobj float_simple array "create floating variable" # mi_delete_breakpoints mi_gdb_load ${binfile_bis} -mi_runto main +mi_runto_main # Change format of floating variable immediately after reload reveals a # bug where gdb still uses a free'd pointer. diff --git a/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.exp b/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.exp index 78ad1e1..b345935 100644 --- a/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.exp +++ b/gdb/testsuite/gdb.mi/mi-var-list-children-invalid-grandchild.exp @@ -43,7 +43,7 @@ mi_gdb_test "-interpreter-exec console \"set print object on\"" \ "(.*=cmd-param-changed,param=\"print object\",value=\"on\".*|)\\^done" \ "set print object on" -mi_runto main +mi_runto_main mi_continue_to_line $line_invalid_pointer_value "continue to invalid pointer value" diff --git a/gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp b/gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp index c9e5724..b8d2cd1 100644 --- a/gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp +++ b/gdb/testsuite/gdb.mi/mi2-amd64-entry-value.exp @@ -49,7 +49,7 @@ foreach name {different breakhere_different breakhere_validity breakhere_invalid # Test various kinds of `set print entry-values'. -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values no" {\^done} "no: set print entry-values" @@ -66,7 +66,7 @@ mi_send_resuming_command "exec-continue" "no: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv",value="<optimized out>"}} .* .* {.* disp="keep"} "no: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv",arg="1",value="<optimized out>"}\]} "no: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values only" {\^done} "only: set print entry-values" @@ -83,7 +83,7 @@ mi_send_resuming_command "exec-continue" "only: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv@entry",value="<optimized out>"}} .* .* {.* disp="keep"} "only: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv@entry",arg="1",value="<optimized out>"}\]} "only: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values preferred" {\^done} "preferred: set print entry-values" @@ -100,7 +100,7 @@ mi_send_resuming_command "exec-continue" "preferred: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv@entry",value="<optimized out>"}} .* .* {.* disp="keep"} "preferred: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv@entry",arg="1",value="<optimized out>"}\]} "preferred: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values if-needed" {\^done} "if-needed: set print entry-values" @@ -117,7 +117,7 @@ mi_send_resuming_command "exec-continue" "if-needed: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv",value="<optimized out>"}} .* .* {.* disp="keep"} "if-needed: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv",arg="1",value="<optimized out>"}\]} "if-needed: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values both" {\^done} "both: set print entry-values" @@ -134,7 +134,7 @@ mi_send_resuming_command "exec-continue" "both: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv",value="<optimized out>"},{name="inv@entry",value="<optimized out>"}} .* .* {.* disp="keep"} "both: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv",arg="1",value="<optimized out>"},{name="inv@entry",arg="1",value="<optimized out>"}\]} "both: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values compact" {\^done} "compact: set print entry-values" @@ -151,7 +151,7 @@ mi_send_resuming_command "exec-continue" "compact: invalid: continue" mi_expect_stop "breakpoint-hit" .* {{name="inv",value="<optimized out>"}} .* .* {.* disp="keep"} "compact: invalid: stop" mi_gdb_test "-stack-list-variables --all-values" {\^done,variables=\[{name="inv",arg="1",value="<optimized out>"}\]} "compact: invalid: -stack-list-variables" -if {[mi_runto main] == -1} { +if {[mi_runto_main] == -1} { return -1 } mi_gdb_test "-gdb-set print entry-values default" {\^done} "default: set print entry-values" diff --git a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp index a55fae6..83a8d5f 100644 --- a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp +++ b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp @@ -63,7 +63,7 @@ proc do_test {sync_command} { return } } else { - if {[mi_runto main] < 0} { + if {[mi_runto_main] < 0} { return } if {[mi_send_resuming_command_raw "123-exec-continue" $test] >= 0} { diff --git a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp index 390df00..ed39443 100644 --- a/gdb/testsuite/gdb.mi/user-selected-context-sync.exp +++ b/gdb/testsuite/gdb.mi/user-selected-context-sync.exp @@ -401,7 +401,7 @@ proc_with_prefix test_setup { mode } { mi_gdb_reinitialize_dir $srcdir/$subdir mi_gdb_load $binfile - if { [mi_runto main] < 0 } { + if { [mi_runto_main] < 0 } { fail "can't run to main" return } |