From bb6216d89885847997d54942e984eeb8696fed61 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 18 Oct 2013 20:40:03 +0000 Subject: [PATCH] * lib/gdb.exp (build_executable_from_specs): Remove duplicate set of "binfile". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 2 -- 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 + + * lib/gdb.exp (build_executable_from_specs): Remove duplicate set + of "binfile". + 2013-10-18 Andrew Burgess * 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} { -- 2.30.2