* lib/gdb.exp (build_executable_from_specs): Remove duplicate set
authorTom Tromey <tromey@redhat.com>
Fri, 18 Oct 2013 20:40:03 +0000 (20:40 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 18 Oct 2013 20:40:03 +0000 (20:40 +0000)
of "binfile".

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 60c1295..7b9a085 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-18  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (build_executable_from_specs): Remove duplicate set
+       of "binfile".
+
 2013-10-18  Andrew Burgess  <aburgess@broadcom.com>
 
        * gdb.base/watchpoints.exp: Add test for setting software
index 44786ec..bde4e48 100644 (file)
@@ -4138,8 +4138,6 @@ proc build_executable_from_specs {testname executable options args} {
         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} {