[patch] gdb/testsuite: Fix more bugs in gdb testglue wrapper handling
Tom Tromey
tom@tromey.com
Tue Jul 21 18:13:41 GMT 2020
>>>>> "Sandra" == Sandra Loosemore <sandra@codesourcery.com> writes:
Sandra> if {[target_info exists needs_status_wrapper] && \
Sandra> [target_info needs_status_wrapper] != "0"} {
Sandra> - set result [build_wrapper [standard_output_file "testglue.o"]]
Sandra> + set result [build_wrapper "testglue.o"]
Sandra> if { $result != "" } {
Sandra> set gdb_wrapper_file [lindex $result 0]
Sandra> + if ![is_remote host] {
Sandra> + set gdb_wrapper_file [file join [pwd] $gdb_wrapper_file]
If "make -j check" is used, isn't it possible that multiple runs will
use the same file name and then clash?
Tom
More information about the Gdb-patches
mailing list