* 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 60c1295878067600f3d86807be45cf7cff2265c6..7b9a085569af33add7a06f7c0afabcdeda7a6fa7 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 44786eca74e03559cbfebd28f05871781ac5043b..bde4e4888575094f27229337176a520df43a4d9b 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} {