# 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
clean_restart ${binfile}
-if { ![runto main] } then {
+if { ![runto_main] } then {
fail "run to main"
return
}