summaryrefslogtreecommitdiff
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
commit6bd097ffd5e6ae7cdb17aa1855d23ac80a62a72f (patch)
treedcbab6e9ffdfe5396fe9aef142c2930af94f6d89
parent624b1f28f1a90fcacfaee2e02f57ba5c4a81b69c (diff)
downloadgdb-6bd097ffd5e6ae7cdb17aa1855d23ac80a62a72f.tar.gz
* 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 60c12958780..7b9a085569a 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 44786eca74e..bde4e488857 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} {