* lib/gdb.exp (build_executable_from_specs): Remove duplicate set

of "binfile".
This commit is contained in:
Tom Tromey 2013-10-18 20:40:03 +00:00
parent e8369a73b9
commit bb6216d898
2 changed files with 5 additions and 2 deletions

View 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

View 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} {