This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb.base/attach.exp cleanupfile?


On Jul 12 19:48, Michael Elizabeth Chastain wrote:
> cv> This code is in attach.exp since epoch, but AFAICS, there was never
> cv> a file called attach.awk in the repository.
> 
> Okay by me.  Copyright date + a trivial test run => commit it!

Copyright date was ok already, tested on Linux.  I've applied the following
patch.

	* gdb.base/attach.exp: Remove cleanupfile handling.

Index: gdb.base/attach.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/attach.exp,v
retrieving revision 1.16
diff -u -p -r1.16 attach.exp
--- gdb.base/attach.exp 12 Jul 2004 14:25:48 -0000      1.16
+++ gdb.base/attach.exp 13 Jul 2004 09:50:12 -0000
@@ -43,7 +43,6 @@ set srcfile2 ${testfile}2.c
 set binfile  ${objdir}/${subdir}/${testfile}
 set binfile2 ${objdir}/${subdir}/${testfile}2
 set escapedbinfile  [string_to_regexp ${objdir}/${subdir}/${testfile}]
-set cleanupfile ${objdir}/${subdir}/${testfile}.awk
 
 #execute_anywhere "rm -f ${binfile} ${binfile2}"
 remote_exec build "rm -f ${binfile} ${binfile2}"
@@ -51,10 +50,6 @@ remote_exec build "rm -f ${binfile} ${bi
 #
 #log_user 1
 
-# Clean out any old files from past runs.
-#
-remote_exec build "${cleanupfile}"
-
 # build the first test case
 #
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Co-Project Leader
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]