* 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.
This commit is contained in:
Dave Korn 2009-04-02 13:47:44 +00:00
parent 70dc4e324b
commit 0fcc17f889
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
* 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.
2009-03-11 Joseph Myers <joseph@codesourcery.com>
* binutils-all/objdump.W, binutils-all/objdump.s: Don't match

View File

@ -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]