Fix clean_restart <absolute filename> in gdb.arch/arm*.exp.
Tested on:
- arm-linux, target boards unix/-marm and unix/-mthumb
- aarch64-linux
return -1
}
-clean_restart ${binfile}
+clean_restart $testfile
if {![runto_main]} {
return
return -1
}
-clean_restart ${binfile}
+clean_restart $testfile
if {![runto_main]} {
return
save_vars { GDBFLAGS } {
append GDBFLAGS " --readnever"
- if { [clean_restart ${binfile}] == -1 } {
+ if { [clean_restart $testfile] == -1 } {
return -1
}
}