mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Revert "[gdb/testsuite] Clean standard_output_file dir in gdb_init"
This reverts commit b7b77500dc.
This commit is contained in:
@@ -21,6 +21,11 @@ require allow_ada_tests
|
||||
|
||||
standard_ada_testfile prog
|
||||
|
||||
# Since we use no-force to compile prog, make sure we don't pick up files
|
||||
# from a previous compilation.
|
||||
remote_file host delete [standard_output_file prog.o]
|
||||
remote_file host delete [standard_output_file prog.ali]
|
||||
|
||||
# Compile pck without debuginfo but prog with it.
|
||||
if {[gdb_compile_ada $srcdir/$subdir/$testdir/pck.adb \
|
||||
[standard_output_file pck.o] object {}] != ""} {
|
||||
|
||||
@@ -6420,9 +6420,6 @@ proc default_gdb_init { test_file_name } {
|
||||
|
||||
set gdb_test_file_name [file rootname [file tail $test_file_name]]
|
||||
|
||||
# Clean directory containing the standard output files.
|
||||
remote_exec build "rm -rf [standard_output_file ""]"
|
||||
|
||||
# Make sure that the wrapper is rebuilt
|
||||
# with the appropriate multilib option.
|
||||
if { $gdb_wrapper_target != [current_target_name] } {
|
||||
|
||||
Reference in New Issue
Block a user