aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-04-02 13:47:44 +0000
committerDave Korn <dave.korn@artimi.com>2009-04-02 13:47:44 +0000
commit0fcc17f8898b6f0b5883882f0bd33198c8dfe96d (patch)
treea7f2fb4ff239dfa5f3ac3521acd9dd140b4d91a0 /binutils/testsuite/binutils-all
parent70dc4e324b9aecad6c9732ebedd0eeb66eb2e176 (diff)
downloadgdb-0fcc17f8898b6f0b5883882f0bd33198c8dfe96d.zip
gdb-0fcc17f8898b6f0b5883882f0bd33198c8dfe96d.tar.gz
gdb-0fcc17f8898b6f0b5883882f0bd33198c8dfe96d.tar.bz2
* inutils-all/objcopy.exp (strip_executable): Delete remote dest
file before downloading. (strip_executable_with_saving_a_symbol): Likewise. (keep_debug_symbols_and_test_copy): Likewise.
Diffstat (limited to 'binutils/testsuite/binutils-all')
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index d45d717..bb1c2db 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -611,6 +611,7 @@ proc strip_executable { prog flags test } {
global NMFLAGS
global host_triplet
+ remote_file build delete tmpdir/striprog
remote_download build tmpdir/copyprog tmpdir/striprog
if [is_remote host] {
set copyfile [remote_download host tmpdir/striprog]
@@ -653,6 +654,7 @@ proc strip_executable_with_saving_a_symbol { prog flags test } {
global NMFLAGS
global host_triplet
+ remote_file build delete tmpdir/striprog
remote_download build tmpdir/copyprog tmpdir/striprog
if [is_remote host] {
set copyfile [remote_download host tmpdir/striprog]
@@ -704,6 +706,7 @@ proc keep_debug_symbols_and_test_copy { prog1 flags1 test1 prog2 flags2 test2 }
global NM
global NMFLAGS
+ remote_file build delete tmpdir/striprog
remote_download build tmpdir/copyprog tmpdir/striprog
if [is_remote host] {
set copyfile [remote_download host tmpdir/striprog]