[gdb/testsuite] Fix clean_restart <absolute filename> in gdb.objc

Fix clean_restart <absolute filename> in the test-cases in gdb.objc.

Tested on x86_64-linux, using 'lappend options "nowarnings"' in
gdb_compile_shlib_pthreads.  See also PR testsuite/24807.
This commit is contained in:
Tom de Vries
2025-09-03 14:39:14 +02:00
parent 8a94d92a46
commit 15170022f7
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ proc deduce_language_of_main {} {
proc do_objc_tests {} {
global binfile
clean_restart $binfile
clean_restart $::testfile
deduce_language_of_main
}

View File

@@ -29,7 +29,7 @@ if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [
proc do_objc_tests {} {
global binfile
clean_restart $binfile
clean_restart $::testfile
}
do_objc_tests

View File

@@ -29,7 +29,7 @@ if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [
proc do_objc_tests {} {
global binfile
clean_restart $binfile
clean_restart $::testfile
}
do_objc_tests