This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: remove a duplicate "set" from build_executable_from_specs
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 18 Oct 2013 14:27:41 -0600
- Subject: FYI: remove a duplicate "set" from build_executable_from_specs
- Authentication-results: sourceware.org; auth=none
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} {