* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 25 Jun 2008 15:52:15 +0000 (15:52 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 25 Jun 2008 15:52:15 +0000 (15:52 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 91fc47b1238c105610d28525ba32bda092585e4b..8c995e316adc627872401d2d77ecfb5772fbf1ee 100644 (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
index 99d69ab9050825b717a73f04b09a54e9ab618560..e9b63f5711af979103e12086858de03a0fd32101 100644 (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