summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 5 insertions, 1 deletions
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 <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
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