* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.

This commit is contained in:
Jan Kratochvil 2008-06-25 15:52:15 +00:00
parent fe9441f601
commit 734a5c3612
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and

View File

@ -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