aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-10-18 20:40:03 +0000
committerTom Tromey <tromey@redhat.com>2013-10-18 20:40:03 +0000
commitbb6216d89885847997d54942e984eeb8696fed61 (patch)
treea2c3b85381333e3cc57325c13daef22c1b40fd96
parente8369a73b982f60326e89c38bd1a7e6bb7363beb (diff)
downloadgdb-bb6216d89885847997d54942e984eeb8696fed61.zip
gdb-bb6216d89885847997d54942e984eeb8696fed61.tar.gz
gdb-bb6216d89885847997d54942e984eeb8696fed61.tar.bz2
* lib/gdb.exp (build_executable_from_specs): Remove duplicate set
of "binfile".
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 60c1295..7b9a085 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 44786ec..bde4e48 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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} {