mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
[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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user