'runto main' -> 'runto_main' throughout
[binutils-gdb.git] / gdb / testsuite / gdb.base / watch_thread_num.exp
index 124dc907339fc0a39cf2cc37ae6f1ba76ac7d5f2..e59b9c3592d17f90d305ea68650df852fc8127e0 100644 (file)
@@ -1,6 +1,6 @@
 # This testcase is part of GDB, the GNU debugger.
 
-# Copyright 2007-2019 Free Software Foundation, Inc.
+# Copyright 2007-2020 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -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
 }