aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/twice.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/twice.exp')
-rw-r--r--gdb/testsuite/gdb.base/twice.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/twice.exp b/gdb/testsuite/gdb.base/twice.exp
index 53b613e..fada7a1 100644
--- a/gdb/testsuite/gdb.base/twice.exp
+++ b/gdb/testsuite/gdb.base/twice.exp
@@ -20,9 +20,9 @@ set binfile ${objdir}/${subdir}/${testfile}
set options debug
lappend options "additional_flags=-I."
-set fileid [open ${objdir}/${subdir}/${srcfile} w];
-puts $fileid "#include \"twice.c\"";
-close $fileid;
+set fileid [open ${objdir}/${subdir}/${srcfile} w]
+puts $fileid "#include \"twice.c\""
+close $fileid
remote_download host ${srcdir}/${subdir}/twice.c twice.c