'runto main' -> 'runto_main' throughout
authorPedro Alves <pedro@palves.net>
Wed, 2 Sep 2020 21:57:54 +0000 (22:57 +0100)
committerPedro Alves <pedro@palves.net>
Tue, 13 Oct 2020 21:27:43 +0000 (22:27 +0100)
This commit does 's/runto main/runto_main/g' throughout.

gdb/testsuite/ChangeLog:

* gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
"runto main".
* gdb.ada/small_reg_param.exp: Likewise.
* gdb.arch/powerpc-d128-regs.exp: Likewise.
* gdb.base/annota1.exp: Likewise.
* gdb.base/anon.exp: Likewise.
* gdb.base/breakpoint-in-ro-region.exp: Likewise.
* gdb.base/dprintf-non-stop.exp: Likewise.
* gdb.base/dprintf.exp: Likewise.
* gdb.base/gdb11530.exp: Likewise.
* gdb.base/gdb11531.exp: Likewise.
* gdb.base/gnu_vector.exp: Likewise.
* gdb.base/interrupt-noterm.exp: Likewise.
* gdb.base/memattr.exp: Likewise.
* gdb.base/step-over-syscall.exp: Likewise.
* gdb.base/watch-cond-infcall.exp: Likewise.
* gdb.base/watch-read.exp: Likewise.
* gdb.base/watch-vfork.exp: Likewise.
* gdb.base/watch_thread_num.exp: Likewise.
* gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
* gdb.guile/scm-frame-inline.exp: Likewise.
* gdb.linespec/explicit.exp: Likewise.
* gdb.opt/inline-break.exp: Likewise.
* gdb.python/py-frame-inline.exp: Likewise.
* gdb.reverse/break-precsave.exp: Likewise.
* gdb.reverse/break-reverse.exp: Likewise.
* gdb.reverse/consecutive-precsave.exp: Likewise.
* gdb.reverse/consecutive-reverse.exp: Likewise.
* gdb.reverse/finish-precsave.exp: Likewise.
* gdb.reverse/finish-reverse.exp: Likewise.
* gdb.reverse/fstatat-reverse.exp: Likewise.
* gdb.reverse/getresuid-reverse.exp: Likewise.
* gdb.reverse/i386-precsave.exp: Likewise.
* gdb.reverse/i386-reverse.exp: Likewise.
* gdb.reverse/i386-sse-reverse.exp: Likewise.
* gdb.reverse/i387-env-reverse.exp: Likewise.
* gdb.reverse/i387-stack-reverse.exp: Likewise.
* gdb.reverse/insn-reverse.exp: Likewise.
* gdb.reverse/machinestate-precsave.exp: Likewise.
* gdb.reverse/machinestate.exp: Likewise.
* gdb.reverse/pipe-reverse.exp: Likewise.
* gdb.reverse/readv-reverse.exp: Likewise.
* gdb.reverse/recvmsg-reverse.exp: Likewise.
* gdb.reverse/rerun-prec.exp: Likewise.
* gdb.reverse/s390-mvcle.exp: Likewise.
* gdb.reverse/solib-precsave.exp: Likewise.
* gdb.reverse/solib-reverse.exp: Likewise.
* gdb.reverse/step-precsave.exp: Likewise.
* gdb.reverse/step-reverse.exp: Likewise.
* gdb.reverse/time-reverse.exp: Likewise.
* gdb.reverse/until-precsave.exp: Likewise.
* gdb.reverse/until-reverse.exp: Likewise.
* gdb.reverse/waitpid-reverse.exp: Likewise.
* gdb.reverse/watch-precsave.exp: Likewise.
* gdb.reverse/watch-reverse.exp: Likewise.
* gdb.threads/kill.exp: Likewise.
* gdb.threads/tid-reuse.exp: Likewise.

Change-Id: I70f457253836019880b4d7fb981936afa56724c2

57 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/fun_in_declare.exp
gdb/testsuite/gdb.ada/small_reg_param.exp
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp
gdb/testsuite/gdb.base/annota1.exp
gdb/testsuite/gdb.base/anon.exp
gdb/testsuite/gdb.base/breakpoint-in-ro-region.exp
gdb/testsuite/gdb.base/dprintf-non-stop.exp
gdb/testsuite/gdb.base/dprintf.exp
gdb/testsuite/gdb.base/gdb11530.exp
gdb/testsuite/gdb.base/gdb11531.exp
gdb/testsuite/gdb.base/gnu_vector.exp
gdb/testsuite/gdb.base/interrupt-noterm.exp
gdb/testsuite/gdb.base/memattr.exp
gdb/testsuite/gdb.base/step-over-syscall.exp
gdb/testsuite/gdb.base/watch-cond-infcall.exp
gdb/testsuite/gdb.base/watch-read.exp
gdb/testsuite/gdb.base/watch-vfork.exp
gdb/testsuite/gdb.base/watch_thread_num.exp
gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
gdb/testsuite/gdb.guile/scm-frame-inline.exp
gdb/testsuite/gdb.linespec/explicit.exp
gdb/testsuite/gdb.opt/inline-break.exp
gdb/testsuite/gdb.python/py-frame-inline.exp
gdb/testsuite/gdb.reverse/break-precsave.exp
gdb/testsuite/gdb.reverse/break-reverse.exp
gdb/testsuite/gdb.reverse/consecutive-precsave.exp
gdb/testsuite/gdb.reverse/consecutive-reverse.exp
gdb/testsuite/gdb.reverse/finish-precsave.exp
gdb/testsuite/gdb.reverse/finish-reverse.exp
gdb/testsuite/gdb.reverse/fstatat-reverse.exp
gdb/testsuite/gdb.reverse/getresuid-reverse.exp
gdb/testsuite/gdb.reverse/i386-precsave.exp
gdb/testsuite/gdb.reverse/i386-reverse.exp
gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
gdb/testsuite/gdb.reverse/i387-env-reverse.exp
gdb/testsuite/gdb.reverse/i387-stack-reverse.exp
gdb/testsuite/gdb.reverse/insn-reverse.exp
gdb/testsuite/gdb.reverse/machinestate-precsave.exp
gdb/testsuite/gdb.reverse/machinestate.exp
gdb/testsuite/gdb.reverse/pipe-reverse.exp
gdb/testsuite/gdb.reverse/readv-reverse.exp
gdb/testsuite/gdb.reverse/recvmsg-reverse.exp
gdb/testsuite/gdb.reverse/rerun-prec.exp
gdb/testsuite/gdb.reverse/s390-mvcle.exp
gdb/testsuite/gdb.reverse/solib-precsave.exp
gdb/testsuite/gdb.reverse/solib-reverse.exp
gdb/testsuite/gdb.reverse/step-precsave.exp
gdb/testsuite/gdb.reverse/step-reverse.exp
gdb/testsuite/gdb.reverse/time-reverse.exp
gdb/testsuite/gdb.reverse/until-precsave.exp
gdb/testsuite/gdb.reverse/until-reverse.exp
gdb/testsuite/gdb.reverse/waitpid-reverse.exp
gdb/testsuite/gdb.reverse/watch-precsave.exp
gdb/testsuite/gdb.reverse/watch-reverse.exp
gdb/testsuite/gdb.threads/kill.exp
gdb/testsuite/gdb.threads/tid-reuse.exp

index 5a04e4fd70e2cea1ef8fecb1a06df9fc5493bd20..6248618451c21a10162779eb77305227c999fc27 100644 (file)
@@ -1,3 +1,63 @@
+2020-10-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
+       "runto main".
+       * gdb.ada/small_reg_param.exp: Likewise.
+       * gdb.arch/powerpc-d128-regs.exp: Likewise.
+       * gdb.base/annota1.exp: Likewise.
+       * gdb.base/anon.exp: Likewise.
+       * gdb.base/breakpoint-in-ro-region.exp: Likewise.
+       * gdb.base/dprintf-non-stop.exp: Likewise.
+       * gdb.base/dprintf.exp: Likewise.
+       * gdb.base/gdb11530.exp: Likewise.
+       * gdb.base/gdb11531.exp: Likewise.
+       * gdb.base/gnu_vector.exp: Likewise.
+       * gdb.base/interrupt-noterm.exp: Likewise.
+       * gdb.base/memattr.exp: Likewise.
+       * gdb.base/step-over-syscall.exp: Likewise.
+       * gdb.base/watch-cond-infcall.exp: Likewise.
+       * gdb.base/watch-read.exp: Likewise.
+       * gdb.base/watch-vfork.exp: Likewise.
+       * gdb.base/watch_thread_num.exp: Likewise.
+       * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
+       * gdb.guile/scm-frame-inline.exp: Likewise.
+       * gdb.linespec/explicit.exp: Likewise.
+       * gdb.opt/inline-break.exp: Likewise.
+       * gdb.python/py-frame-inline.exp: Likewise.
+       * gdb.reverse/break-precsave.exp: Likewise.
+       * gdb.reverse/break-reverse.exp: Likewise.
+       * gdb.reverse/consecutive-precsave.exp: Likewise.
+       * gdb.reverse/consecutive-reverse.exp: Likewise.
+       * gdb.reverse/finish-precsave.exp: Likewise.
+       * gdb.reverse/finish-reverse.exp: Likewise.
+       * gdb.reverse/fstatat-reverse.exp: Likewise.
+       * gdb.reverse/getresuid-reverse.exp: Likewise.
+       * gdb.reverse/i386-precsave.exp: Likewise.
+       * gdb.reverse/i386-reverse.exp: Likewise.
+       * gdb.reverse/i386-sse-reverse.exp: Likewise.
+       * gdb.reverse/i387-env-reverse.exp: Likewise.
+       * gdb.reverse/i387-stack-reverse.exp: Likewise.
+       * gdb.reverse/insn-reverse.exp: Likewise.
+       * gdb.reverse/machinestate-precsave.exp: Likewise.
+       * gdb.reverse/machinestate.exp: Likewise.
+       * gdb.reverse/pipe-reverse.exp: Likewise.
+       * gdb.reverse/readv-reverse.exp: Likewise.
+       * gdb.reverse/recvmsg-reverse.exp: Likewise.
+       * gdb.reverse/rerun-prec.exp: Likewise.
+       * gdb.reverse/s390-mvcle.exp: Likewise.
+       * gdb.reverse/solib-precsave.exp: Likewise.
+       * gdb.reverse/solib-reverse.exp: Likewise.
+       * gdb.reverse/step-precsave.exp: Likewise.
+       * gdb.reverse/step-reverse.exp: Likewise.
+       * gdb.reverse/time-reverse.exp: Likewise.
+       * gdb.reverse/until-precsave.exp: Likewise.
+       * gdb.reverse/until-reverse.exp: Likewise.
+       * gdb.reverse/waitpid-reverse.exp: Likewise.
+       * gdb.reverse/watch-precsave.exp: Likewise.
+       * gdb.reverse/watch-reverse.exp: Likewise.
+       * gdb.threads/kill.exp: Likewise.
+       * gdb.threads/tid-reuse.exp: Likewise.
+
 2020-10-13  Simon Marchi  <simon.marchi@polymtl.ca>
 
        PR gdb/26642
index 56b6d4c6c0021d4922caba22ec34dff056769582..9e4d76fa55456fcb3d287e8e8b2216046124d15c 100644 (file)
@@ -25,7 +25,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 
 clean_restart ${testfile}
 
-if ![runto main] then {
+if ![runto_main] then {
   perror "Couldn't run ${testfile}"
   return
 } 
index 5737708e39f5b3191d7468b0c8176c7c75417d5a..9ae9a1805fbee57a40e95afd4bd610ae917d525a 100644 (file)
@@ -25,7 +25,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug optimize=-
 
 clean_restart ${testfile}
 
-if ![runto main] then {
+if ![runto_main] then {
   perror "Couldn't run ${testfile}"
   return
 }
index cd96029fe85808d6560661d199bccf80c91fa803..cccf9e703ebb301c9d0596a0ab9ecf997ef350e5 100644 (file)
@@ -39,7 +39,7 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
    fail "run to main"
    return
 }
index 2fdfd65ce86321ab0c2f55277226f9f5b40b7cee..f3c99667acdb64096364bf003578b6b4400d5192 100644 (file)
@@ -459,7 +459,7 @@ proc thread_test {} {
        gdb_start
        gdb_reinitialize_dir $srcdir/$subdir
        gdb_load ${binfile}
-       if { ![runto main] } then {
+       if { ![runto_main] } then {
            fail "run to main"
            return
        }
index 0d77bbf50401a992bc64d495d75b5894aeda2f2b..f6bb3c5f04178911bdf38ca1dbd56de5b7ea4435 100644 (file)
@@ -20,7 +20,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug}] } {
     return -1
 }
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
index 65f7baae9f594bc0cc31b6c96df0c24bd347c019..3d22af5937f2dd4937a2ecb348bf243dd5026f46 100644 (file)
@@ -28,7 +28,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-if ![runto main] {
+if ![runto_main] {
     return -1
 }
 
index 5ed5d0223223a144e016952dd6ec335bf4c02193..3d911a4073b4f37d16d08f1393a794da57c51849 100644 (file)
@@ -26,7 +26,7 @@ save_vars { GDBFLAGS } {
     clean_restart ${executable}
 }
 
-if ![runto main] {
+if ![runto_main] {
     fail "can't run to main"
     return -1
 }
index 968f9eafcc9f2b64ec04c427c4b7c75dbdf9d172..9fa2e64993c257f5bcd0e7c7ab65e6687ca1f2b0 100644 (file)
@@ -22,7 +22,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
 set bp_location1 [gdb_get_line_number "set breakpoint 1 here"]
 set dp_location1 [gdb_get_line_number "set dprintf 1 here"]
 
-if ![runto main] {
+if ![runto_main] {
     return -1
 }
 
@@ -72,7 +72,7 @@ proc restart {} {
 
     clean_restart $binfile
 
-    if ![runto main] {
+    if ![runto_main] {
        return -1
     }
 
index 705d03dd2a2d29d26526e02d35fa275d728069b3..a7399267acd7018bf495cd6a23cdd677b36642ce 100644 (file)
@@ -36,7 +36,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $testfile.c {debug}] } {
 }
 
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
index 6cde80ddda56c96f3a9cc5eb3e3814194b907dd6..59ef4394a8bc6f28fd65058f16ebd6e3fa3d1754 100644 (file)
@@ -31,7 +31,7 @@ if [target_info exists gdb,no_hardware_watchpoints] {
    gdb_test_no_output "set can-use-hw-watchpoints 0" ""
 }
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
index 23fc2dbbd98f61ce9d771b8cd7ffe2b3873501ba..15cd59b04093ab0789ff285c3c464afc205eb8a6 100644 (file)
@@ -42,7 +42,7 @@ if { [do_compile {-mcpu=native}] != ""
 
 clean_restart ${binfile}
 
-if { ![runto main] } {
+if { ![runto_main] } {
     fail "runto main"
     return -1
 }
index 4ec4e8513f0bd1efd633d4cd652e60fc1a9b45b9..ddf4ba3352afc61c4ba8b95778468e474b151b16 100644 (file)
@@ -23,7 +23,7 @@ if [prepare_for_testing "failed to prepare for testing" \
 # Pretend there's no terminal.
 gdb_test_no_output "set interactive-mode off"
 
-if ![runto main] {
+if ![runto_main] {
     fail "can't run to main"
     return -1
 }
index 237f51a4bae58af46305120675e4359f7c2f4a01..91527cec0638b0ae5948fc6efde0101039ef06f9 100644 (file)
@@ -23,7 +23,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 # Delete all target-supplied memory regions.
 delete_memory_regions
index 0d0c31abe87e4032b20ab5acefc2736cd0efb081..6f67aea12ef03d08f1ff89fbce3abf9c44a9fbaa 100644 (file)
@@ -76,7 +76,7 @@ proc setup { syscall } {
 
     clean_restart $testfile
 
-    if { ![runto main] } then {
+    if { ![runto_main] } then {
        fail "run to main ($syscall)"
        return -1
     }
@@ -317,7 +317,7 @@ step_over_syscall "clone"
 
 set testfile "step-over-fork"
 clean_restart $testfile
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return -1
 }
index 0401ecc7fb58d809011ced820b80fe5094e8b1b7..dc76bf11aa2e1a4236633a23c83f5319be7ad859 100644 (file)
@@ -33,7 +33,7 @@ proc test_watchpoint { hw } {
 
     clean_restart ${testfile}
 
-    if { ![runto main] } then {
+    if { ![runto_main] } then {
        fail "run to main"
        return
     }
index 42e5f323b6ee8f15b91b2497d4329449d583ca54..bb1d8476001e4ff8904368f7f88abf71e7814592 100644 (file)
@@ -32,7 +32,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
     return -1
 }
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
index a88897e34bb62f1d09460b54e53c972a9ef9e1e9..ead0222a64bf76ea34ce551c61eddb642c1f462f 100644 (file)
@@ -27,7 +27,7 @@ proc test_watchpoint_across_vfork { hw teststr } {
 
     clean_restart ${testfile}
 
-    if { ![runto main] } then {
+    if { ![runto_main] } then {
        fail "run to main ($teststr)"
        return
     }
index 88c22a28751e4ad9c5b6b5f3725bc3148031bb56..e59b9c3592d17f90d305ea68650df852fc8127e0 100644 (file)
@@ -41,7 +41,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
 
 clean_restart ${binfile}
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
    fail "run to main"
    return
 }
index 4e36c4207fc61e65b408cd2450f42dc264eec063..5b55739cc16feb8742be0de30ed9f03e5daa5620 100644 (file)
@@ -79,7 +79,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
     return -1
 }
 
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
@@ -134,7 +134,7 @@ proc test {always_inserted} {
 
        clean_restart $binfile
 
-       if { ![runto main] } then {
+       if { ![runto_main] } then {
            fail "run to main"
            return
        }
index 8a4d8f893de426a483c5093bbe4989ffb72dc2a5..6f7c9140c00b5e70e6312f62759d7879cf089c97 100644 (file)
@@ -24,7 +24,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
 # Skip all tests if Guile scripting is not enabled.
 if { [skip_guile_tests] } { continue }
 
-if ![runto main] {
+if ![runto_main] {
     fail "can't run to main"
     return
 }
index 4f457dc372fc4a9cc05cdbdb22cda83b09b6fd9a..c01a425ece104fe3369e5512fd3c1f485f7a1fcc 100644 (file)
@@ -584,7 +584,7 @@ namespace eval $testfile {
     gdb_load [standard_output_file $exefile]
 
     set tst "condition_command overrides explicit linespec condition"
-    if {![runto main]} {
+    if {![runto_main]} {
        fail $tst
     } else {
        if {![gdb_breakpoint "-func myfunction if arg == 1"]} {
index 560ed8ce48cc3d2e3361b5d4f96412e0d3455511..da3c706a53354dd5b44f24ef60b5edd6f30154e7 100644 (file)
@@ -190,7 +190,7 @@ foreach_with_prefix cmd [list "break" "tbreak"] {
 
     # Start with a clean state.
     delete_breakpoints
-    if {![runto main]} {
+    if {![runto_main]} {
        untested "could not run to main"
        return -1
     }
@@ -246,7 +246,7 @@ foreach_with_prefix func {
 } {
     clean_restart $binfile
 
-    if {![runto main]} {
+    if {![runto_main]} {
        untested "could not run to main"
        continue
     }
@@ -264,7 +264,7 @@ set line [gdb_get_line_number "break here"]
 with_test_prefix "line number" {
     clean_restart $binfile
 
-    if {![runto main]} {
+    if {![runto_main]} {
        untested "could not run to main"
        continue
     }
@@ -289,7 +289,7 @@ with_test_prefix "address" {
 
     clean_restart $binfile
 
-    if {![runto main]} {
+    if {![runto_main]} {
        untested "could not run to main"
        continue
     }
@@ -308,7 +308,7 @@ with_test_prefix "check alignment" {
 
     clean_restart $binfile
 
-    if {![runto main]} {
+    if {![runto_main]} {
        untested "could not run to main"
        continue
     }
index 2b3d8e2b0e1d0ab145ac4ee1e7e5930d0570b299..749e040408b60142b4995ee6762280ee93ae7bdb 100644 (file)
@@ -24,7 +24,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
 # Skip all tests if Python scripting is not enabled.
 if { [skip_python_tests] } { continue }
 
-if ![runto main] then {
+if ![runto_main] then {
     fail "can't run to function f"
     return 0
 }
index ec4ce6025be3f7a63183fdad6f67fb8ae93c1dc3..ea0cb42a95f4c27219a59684dc962c3f2f314df1 100644 (file)
@@ -37,7 +37,7 @@ proc precsave_tests {} {
     global foo_location bar_location main_location end_location
     global decimal srcfile precsave gdb_prompt
 
-    runto main
+    runto_main
 
     if [supports_process_record] {
        # Activate process record/replay
index 65c59bb8f39a8de6603de7e3cba201e844accf75..07dd1da7991ffba5c5595296760fb245dbc11d7e 100644 (file)
@@ -31,7 +31,7 @@ set bar_location  [gdb_get_line_number "break in bar" ]
 set main_location [gdb_get_line_number "break in main"]
 set end_location  [gdb_get_line_number "end of main"  ]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index dec501d589b65894c9df209ba843db225ad21c37..1d78df6b7da5e01d40508be1be211d7094e03274 100644 (file)
@@ -28,7 +28,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index ff03e6744a4628a7ea87dc61eded971a14558add..d01a7dcf3a50ded9c1ad4a19c52716f542d3e5b8 100644 (file)
@@ -26,7 +26,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index ed468152049f636572705cf9cf8f1b57d0a10bec..1f3749849fffbeda127a1317cd856b1835d5fcaa 100644 (file)
@@ -27,7 +27,7 @@ if { [prepare_for_testing "failed to prepare" "$testfile" $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 62eb3fd156e2d3e4e084bdbb4f5bdf6062dfc75c..89fa10ce983a3e6671bf17a7683f020152da047c 100644 (file)
@@ -26,7 +26,7 @@ if { [prepare_for_testing "failed to prepare" "$testfile" $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 227f44891f0370aec1d799842d5d4cdfea88c0eb..e8151cccd2d881532c554fff7429314c63edccc6 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 3e75939f528f48526439d62e2232192ed989ee9d..33b64a311c473426da05a61c4e82bfb52495fcda 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index c51066cd2d87152ce38c78a69d02d5b840e9ded8..58053f7888b6a19458adbe746a9d1cae9bf40475 100644 (file)
@@ -44,7 +44,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 set end_of_main          [gdb_get_line_number " end of main "]
 set end_of_inc_dec_tests [gdb_get_line_number " end inc_dec_tests "]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index c0d21b80cec168fce0ecc39e751d7ccfcf6be779..a8a8347b3d0bfdc3bdf176aa9f09f541484ade45 100644 (file)
@@ -42,7 +42,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 set end_of_main          [gdb_get_line_number " end of main "]
 set end_of_inc_dec_tests [gdb_get_line_number " end inc_dec_tests "]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 0440409b94faf95df4974d7d1742b60893b824d8..f1b7643e7b26b17ca071807dc5f7b02cf14767f7 100644 (file)
@@ -44,7 +44,7 @@ set end_sse_test         [gdb_get_line_number " end sse_test "]
 set end_ssse3_test       [gdb_get_line_number " end ssse3_test "]
 set end_sse4_test         [gdb_get_line_number " end sse4_test "]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 5bef30f0e4425dd02dbaf495373c3444fca55132..f051ccbe8f516878889d17628af51495a98c6cc5 100644 (file)
@@ -31,7 +31,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
     return -1
 }
 
-runto main
+runto_main
 
 # Record to end of main
 
index 072fdba89cec2b03bd2c14d1bbb3e33f0f85e196..a53033c603b2ebe8a82bce0749171a31921c4746 100644 (file)
@@ -31,7 +31,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
     return -1
 }
 
-runto main
+runto_main
 
 # Record to end of main
 
index 53f4698763f8a30e0a9af7f5053214903e6424f3..174b7957517318ee38554bc3d05715d567e026b4 100644 (file)
@@ -23,7 +23,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
         [list debug]]} {
     return -1
 }
-if { ![runto main] } then {
+if { ![runto_main] } then {
     fail "run to main"
     return
 }
index f7df3d703611476ea0f8f4ba3fb8cc156f62724a..21b793c017892dbd709e7f0e419d19d6c1779c79 100644 (file)
@@ -55,7 +55,7 @@ set endmain   [gdb_get_line_number " end main "   $srcfile]
 
 # Test begins
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 5171ee60c0cc84009780bed156b2f6d6bc7b87d5..a597bb6212d85736cdad2e119e18840f826a56ed 100644 (file)
@@ -53,7 +53,7 @@ set endmain   [gdb_get_line_number " end main "   $srcfile]
 
 # Test begins
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 7113178b663317b1121916720e113b05bf08516a..20187a06d9602f643a16298ea177565fa055e487 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index cd019dbbc98b7ce51cd3206cc19a09f925c67034..be703cbe07ec6107dd17c0076fd78d160b74e86b 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index ac5d136dc989067ef15bf175713ce2547102018f..949b711ff17f774645269f87f95cddc1247f979e 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 637ac58954db8335b5d8b68434771adb35329e76..108c4a7bf91b5ff2ed426a37fc43cd6aba3fcf0e 100644 (file)
@@ -24,7 +24,7 @@ if {[prepare_for_testing "failed to prepare" $testfile [list $srcfile]]} {
 }
 
 # The bug is a regression in the sequence "run; record; run".
-runto main
+runto_main
 gdb_test_no_output "record" "turn on process record"
 
 gdb_run_cmd
index beb4a69c79d8933e909f586b3fe44a9a1004c64c..01761eb6fdf6c3b4844c13599cb0592933f4f36a 100644 (file)
@@ -32,7 +32,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 8d57e7951e26d56abb2ee34d3e027ab3000a5d9b..e396e65066cb9e39c9fe411d46be3feb113044fe 100644 (file)
@@ -79,7 +79,7 @@ gdb_load ${binfile}
 gdb_load_shlib $library1
 gdb_load_shlib $library2
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 843aedc722aed03e601686a25a9f39ce57a16bd2..a9ab07b321501fa7577df5d8146567ad4f6c3c8e 100644 (file)
@@ -71,7 +71,7 @@ gdb_load ${binfile}
 gdb_load_shlib $library1
 gdb_load_shlib $library2
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 12bb7d194862d567a413751459940d3da1d6d2cb..7d8c12ce76bb4f6ae88bf7f69f8b238d3628de7e 100644 (file)
@@ -32,7 +32,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index bdc9489d6f02d072f555ffed6c079c114e663a4d..2320389c5010e035ab3fc1ebad8fef3ec047bb33 100644 (file)
@@ -30,7 +30,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index fea38f378201c3d21cda3ce1fda63944eeb52522..0f369aae7111cd5a4e00ee8266e5aae34a71508c 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 5eb03dfeaf7b06c096308971c6d1f2ba59e63fc3..25f455fb6084fddc88690e7d146d0a1effa29c46 100644 (file)
@@ -36,7 +36,7 @@ set bp_location19 [gdb_get_line_number "set breakpoint 19 here"]
 set bp_location20 [gdb_get_line_number "set breakpoint 20 here"]
 set bp_location21 [gdb_get_line_number "set breakpoint 21 here"]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 6b435be4c94e2d5e02d07ec52cf2ffdb0785f6d7..f91600df55016eafb273b7a1180c7e336fb17eeb 100644 (file)
@@ -34,7 +34,7 @@ set bp_location19 [gdb_get_line_number "set breakpoint 19 here"]
 set bp_location20 [gdb_get_line_number "set breakpoint 20 here"]
 set bp_location21 [gdb_get_line_number "set breakpoint 21 here"]
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 39d7771fa1a6c1ae82dfafd1b21c076afbc24b34..12de810dfe1b2e92959df63ee2ef063eda8f904d 100644 (file)
@@ -31,7 +31,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index de85c07b40a53e9d3fa8038433905736a65abfdc..30c5f26f62af7990492518ff0607711d6167f763 100644 (file)
@@ -29,7 +29,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 703131155f749fb873a8a5da90ffd96509d609c9..433bf28f688c06ccec03735851b7c2b1548e8275 100644 (file)
@@ -28,7 +28,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
     return -1
 }
 
-runto main
+runto_main
 
 if [supports_process_record] {
     # Activate process record/replay
index 4acb1467935bdec0efec6c6ac8839907f9d37d85..2fe4fce0a203c864b25c8e3931ebc2cabf228e77 100644 (file)
@@ -38,7 +38,7 @@ proc test {threaded} {
            return -1
        }
 
-       if { ![runto main] } then {
+       if { ![runto_main] } then {
            fail "run to main"
            return
        }
index 9f42fdddf8d29eac234fc87f8abfc595b59c2ee9..756a3dc2d983cbe3009126c95bb9b29bdfd0ec87 100644 (file)
@@ -24,7 +24,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile { debug pthreads
 
 clean_restart ${binfile}
 
-if ![runto main] {
+if ![runto_main] {
     fail "can't run to main"
     return -1
 }