This is the mail archive of the gdb-patches@sourceware.org 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]

FYI: remove a duplicate "set" from build_executable_from_specs


I noticed today that build_executable_from_specs has a duplicate "set"
in it.  This patch removes one of them.

Built and regtested on x86-64 Fedora 18.

Tom

2013-10-18  Tom Tromey  <tromey@redhat.com>

	* lib/gdb.exp (build_executable_from_specs): Remove duplicate set
	of "binfile".

Index: lib/gdb.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/gdb.exp,v
retrieving revision 1.248
diff -u -r1.248 gdb.exp
--- lib/gdb.exp	10 Oct 2013 09:54:13 -0000	1.248
+++ lib/gdb.exp	18 Oct 2013 20:14:01 -0000
@@ -4138,8 +4138,6 @@
         return -1
     }
 
-    set binfile [standard_output_file $executable]
-
     set func gdb_compile
     set func_index [lsearch -regexp $options {^(pthreads|shlib|shlib_pthreads)$}]
     if {$func_index != -1} {


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