From: Jan Kratochvil Date: Wed, 25 Jun 2008 15:52:15 +0000 (+0000) Subject: * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=734a5c36127b30eeea8ea6fea4e8e9114fae01dd;p=binutils-gdb.git * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 91fc47b1238..8c995e316ad 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-06-25 Jan Kratochvil + + * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument. + 2008-06-25 Vladimir Prus * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 99d69ab9050..e9b63f5711a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2732,7 +2732,7 @@ proc clean_restart { executable } { # Please refer to build_executable for parameter description. proc prepare_for_testing { testname executable {sources ""} {options {debug}}} { - if {[build_executable $testname $executable $sources] == -1} { + if {[build_executable $testname $executable $sources $options] == -1} { return -1 } clean_restart $executable