diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-10-31 00:05:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-10-31 00:05:09 +0000 |
commit | 0d29b6cc9dcbdeeeebd6facf175020ff238e72d1 (patch) | |
tree | bc2a179327c18fe1a86a4bb1e3fd1fcb70d77c63 /ld | |
parent | 197e30e5605a184b3728dbd79c7890a3c09cf27e (diff) | |
download | gdb-0d29b6cc9dcbdeeeebd6facf175020ff238e72d1.zip gdb-0d29b6cc9dcbdeeeebd6facf175020ff238e72d1.tar.gz gdb-0d29b6cc9dcbdeeeebd6facf175020ff238e72d1.tar.bz2 |
* lib/ld.exp (default_ld_compile): Remove the output file before
compiling.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/lib/ld.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld.exp b/ld/testsuite/lib/ld.exp index d01f074..e205cba 100644 --- a/ld/testsuite/lib/ld.exp +++ b/ld/testsuite/lib/ld.exp @@ -112,6 +112,8 @@ proc default_ld_compile { cc source object } { return 0 } + catch "exec rm -f $object" exec_output + send_log "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object\n" verbose "$cc -I$srcdir$subdir -c $CFLAGS $source -o $object" |